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 commentaires

Walter Roberson
Walter Roberson le 12 Août 2015
Please show your code.
Azzi Abdelmalek
Azzi Abdelmalek le 12 Août 2015
Post your code

Connectez-vous pour commenter.

 Réponse acceptée

Stalin Samuel
Stalin Samuel le 12 Août 2015

0 votes

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

Plus de réponses (0)

Catégories

En savoir plus sur Parallel Computing Toolbox dans Centre d'aide et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by