Info
La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.
could anyone help me how to run the line without using randsample
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
could anyone help me how to run the line without using randsample rows=unused_rows(randsample(length(unused_rows),N_UE_rows))
0 comentarios
Respuestas (2)
Image Analyst
el 13 de Abr. de 2018
Try randperm().
2 comentarios
Prabha Kumaresan
el 16 de Abr. de 2018
Editada: Walter Roberson
el 16 de Abr. de 2018
Walter Roberson
el 16 de Abr. de 2018
In the output you show, the number of rows is the same each time, 2 rows each time.
Walter Roberson
el 16 de Abr. de 2018
rows = unused_rows(randperm(length(unused_rows),N_UE_rows))
3 comentarios
La pregunta está cerrada.
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!