How to generate 500 random matrices by loop ?

1 Ansicht (letzte 30 Tage)
Farooq Aamir
Farooq Aamir am 14 Jun. 2018
Beantwortet: KSSV am 14 Jun. 2018
I want to generate 500 random matrices for a numerical test by loop? Can anyone help me?

Akzeptierte Antwort

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

Weitere Antworten (0)

Kategorien

Mehr zu Creating and Concatenating Matrices finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by