How to generate multiple random samples of size 200
조회 수: 3 (최근 30일)
이전 댓글 표시
채택된 답변
dpb
2014년 3월 19일
rnv=randn(200,1000); % generate 1000 column samples of 200
Refer to the subsample sets as rnv(:,idx) where idx is the desired sample number. Don't even think of trying to build named variables for this.
추가 답변 (1개)
Viju
2014년 3월 19일
One way to go about this:
x = randn(200,1000);
This generates normally distributed pseudo-random numbers between 0 and 1.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!