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!
