Problem with the size of randperm(n)
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Nadhirah Jofri
il 12 Ago 2015
Commentato: Azzi Abdelmalek
il 12 Ago 2015
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 Commenti
Risposta accettata
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Matrices and Arrays in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!