How to generate 500 random matrices by loop ?

1 vue (au cours des 30 derniers jours)
Farooq Aamir
Farooq Aamir le 14 Juin 2018
Réponse apportée : KSSV le 14 Juin 2018
I want to generate 500 random matrices for a numerical test by loop? Can anyone help me?

Réponse acceptée

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

Plus de réponses (0)

Catégories

En savoir plus sur Creating and Concatenating Matrices dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by