How to generate 500 random matrices by loop ?

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

 Accepted Answer

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

More Answers (0)

Categories

Asked:

on 14 Jun 2018

Answered:

on 14 Jun 2018

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!