Tuesday, 1 December 2015

HOW TO GENERATE RANDOM MATRIX IN MATLAB?

rand:

Uniformly distributed pseudorandom numbers

Syntax

r = rand(n)

example

 rand(3,2)

ans =

    0.9880    0.9133
    0.0377    0.7962
    0.8852    0.0987



FOR MORE DETAILS 
                                                  CLICK HERE

No comments:

Post a Comment