How to generate 500 random matrices by loop ?

1 view (last 30 days)
I want to generate 500 random matrices for a numerical test by loop? Can anyone help me?

Accepted Answer

KSSV
KSSV on 14 Jun 2018
Read about rand.
m = 10 ; n = 10 ; p = 500 ;
iwant = rand(m,n,p) ;

More Answers (0)

Categories

Find more on Creating and Concatenating Matrices in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!