From: Petra on 24 Mar 2010 10:24 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 24 Mar 2010 10:28 See help randn.
From: Petra Fava on 24 Mar 2010 10:33 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 24 Mar 2010 10:33 "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 24 Mar 2010 10:38 "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
|
Next
|
Last
Pages: 1 2 3 4 5 Prev: SimMechanics Inverse simulation - crankshaft Next: Timing Actual Simulation Length |