From: Petra on
hi,

I would like helping on how i will be able to create a random 100x100 matrix from a standard normal distribution...

thanks,
Petra
From: David Young on
See help randn.
From: Petra Fava on
thanks will give that a look :)

but then if i have to create another 100x100 random matrix from a uniform distribution on the interval [-5,1] ... do i do the same thing for this?

thanks a lot
From: mat001 on
"Petra " <petrafava(a)gmail.com> wrote in message <hod7a5$8v6$1(a)fred.mathworks.com>...
> hi,
>
> I would like helping on how i will be able to create a random 100x100 matrix from a standard normal distribution...
>
> thanks,
> Petra


rand(100,100)
From: David Young on
"Petra Fava" <petrafava(a)gmail.com> wrote in message <hod7r1$i72$1(a)fred.mathworks.com>...
....
> but then if i have to create another 100x100 random matrix from a uniform distribution on the interval [-5,1] ... do i do the same thing for this?
....

Then you'd use

6*rand(100,100)-5;

See help rand