% Numerical Mathematics and Computing, Fifth Edition % Ward Cheney & David Kincaid % Brooks/Cole Publ. Co. % (c) 2003 % % file: rand.m % % generate 20 uniformly distributed random numbers in interval (0,1) % and store in 10x2 array % X = rand(4,3) rand('state',0) Y = rand(4,3) x = rand(10, 2)