MATLAB: How to generate 500 random matrices by loop

random matrices

I want to generate 500 random matrices for a numerical test by loop? Can anyone help me?

Best Answer

Read about rand.
m = 10 ; n = 10 ; p = 500 ;
iwant = rand(m,n,p) ;