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?

 採用された回答

KSSV
KSSV 2018 年 6 月 14 日

0 投票

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

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeRandom Number Generation についてさらに検索

質問済み:

2018 年 6 月 14 日

回答済み:

2018 年 6 月 14 日

Community Treasure Hunt

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

Start Hunting!

Translated by