i should run a data of a matrix of [1055x98] involving the rn=randperm(n) however, it can't be as it says:
Attempted to access rn(1056,1);index out of bounds because size(rn)=[1055,1]
do i have problem with the size of rn? if it is, how to set a new one ?

댓글 수: 2

Walter Roberson
Walter Roberson 2015년 8월 12일
Please show your code.
Azzi Abdelmalek
Azzi Abdelmalek 2015년 8월 12일
Post your code

댓글을 달려면 로그인하십시오.

 채택된 답변

Stalin Samuel
Stalin Samuel 2015년 8월 12일

0 개 추천

set iteration as 1:max(size(rn))

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Parallel Computing Toolbox에 대해 자세히 알아보기

태그

질문:

2015년 8월 12일

댓글:

2015년 8월 12일

Community Treasure Hunt

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

Start Hunting!

Translated by