Random Number Generation
Title
Question
How to generate a matrix containing random integer numbers?
Scilab Matrix-Operations 07-08 min 30-40 sec
Answers:
To generate a m by n matrix of randoms, type rand(m,n)
grand(2, 2, "uin", 3, 9)
where the first 2,2 represents the size of the matrix.
and the last two numbers represent are the range of the random integers
Login to add comment