Info
Cette question est clôturée. Rouvrir pour modifier ou répondre.
could anyone help me how to run the line without using randsample
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
could anyone help me how to run the line without using randsample rows=unused_rows(randsample(length(unused_rows),N_UE_rows))
0 commentaires
Réponses (2)
Image Analyst
le 13 Avr 2018
Try randperm().
2 commentaires
Prabha Kumaresan
le 16 Avr 2018
Modifié(e) : Walter Roberson
le 16 Avr 2018
Walter Roberson
le 16 Avr 2018
In the output you show, the number of rows is the same each time, 2 rows each time.
Walter Roberson
le 16 Avr 2018
rows = unused_rows(randperm(length(unused_rows),N_UE_rows))
3 commentaires
Cette question est clôturée.
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!