Programming, Matlab, Function, Basics, Electrical Engineering.
0.1971 0.2160 0.9899 0.3185 0.0550 0.8217 0.7904 0.5144 0.5341 0.8507 >> randi(10,5,6) ans = 6 9 10 5 6 7 10 10 6 10 3 8 7 1 5 6 7 9 6 9 9 9 1 10 9 7 3 8 7 8 >> randi([5 10],2,3) Plotting histogram in MATLAB:- hist(r,100) //r denotes a matrix or an array and 100 is the number of bands. *** Random