Info
Questa domanda è chiusa. Riaprila per modificarla o per rispondere.
could anyone help me how to run the line without using randsample
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
could anyone help me how to run the line without using randsample rows=unused_rows(randsample(length(unused_rows),N_UE_rows))
0 Commenti
Risposte (2)
Image Analyst
il 13 Apr 2018
Try randperm().
2 Commenti
Walter Roberson
il 16 Apr 2018
In the output you show, the number of rows is the same each time, 2 rows each time.
Walter Roberson
il 16 Apr 2018
rows = unused_rows(randperm(length(unused_rows),N_UE_rows))
3 Commenti
Questa domanda è chiusa.
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!