Generating normal and integer random numbers (1-D & 2-D) and plotting them;
z=rand(5,1)
z =
0.1067
0.9619
0.0046
0.7749
0.8173
>> plot(z)
>> z=rand(5,7)
z =
0.8687 0.4314 0.1361 0.8530 0.0760 0.4173 0.4893
0.0844 0.9106 0.8693 0.6221 0.2399 0.0497 0.3377
0.3998 0.1818 0.5797 0.3510 0.1233 0.9027 0.9001
0.2599 0.2638 0.5499 0.5132 0.1839 0.9448 0.3692
0.8001 0.1455 0.1450 0.4018 0.2400 0.4909 0.1111
>> plot(z)