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

04-05-19, 3:18 p.m.drvkannan786Login to add comment