selecting values randomly from dataset
22 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I have a data of 100*60 ,i want to select 3 rows randomly please help
0 comentarios
Respuesta aceptada
Walter Roberson
el 16 de Nov. de 2011
IDX = randperm(size(X,1));
RandomRows = X(IDX(1:3),:);
0 comentarios
Más respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!