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 Exchange에서 Random 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