Random picking of adjacent data points
Mostrar comentarios más antiguos
Hi,
May someone help me
I have data in one column and want to randomly pick adjacent 48 data points for 1000 times. For example, we have 10 data point (1, 2,3, 4,5,6,7,8,9,10) and we randomly pick 3 adjacent data points 5 times.
May some one help me ...
Thank you.

Respuesta aceptada
Más respuestas (1)
madhan ravi
el 29 de Ag. de 2020
Editada: madhan ravi
el 29 de Ag. de 2020
datasets = num2cell(reshape(data(randperm(48e3)), [], 1e3), 1);
%celldisp(datasets)
3 comentarios
aa
el 29 de Ag. de 2020
madhan ravi
el 29 de Ag. de 2020
Edit your question a billion times to each new question.
aa
el 29 de Ag. de 2020
Categorías
Más información sobre Descriptive Statistics and Insights en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
