Filter Type: All Time (0 Results) Past 24 Hours Past Week Past month Post Your Comments?
All Time (0 Results)
Past 24 Hours
Past Week
Past month
In matlab , one can generate a random number chosen uniformly between 0 and 1 by x = rand(1) To obtain a vector of n random numbers, type x = rand(1,n) If you type x = rand(n) you get a n-by-n matrix of random numbers, which could be way too big. Be careful not to confuse rand with randn, which produces Gaussian random variables.