Random picking of adjacent data points
이전 댓글 표시
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.

채택된 답변
추가 답변 (1개)
madhan ravi
2020년 8월 29일
편집: madhan ravi
2020년 8월 29일
datasets = num2cell(reshape(data(randperm(48e3)), [], 1e3), 1);
%celldisp(datasets)
댓글 수: 3
aa
2020년 8월 29일
madhan ravi
2020년 8월 29일
Edit your question a billion times to each new question.
aa
2020년 8월 29일
카테고리
도움말 센터 및 File Exchange에서 Descriptive Statistics and Insights에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
