Selecting random points from data file
1 回表示 (過去 30 日間)
古いコメントを表示
amberly hadden
2014 年 12 月 12 日
コメント済み: amberly hadden
2014 年 12 月 12 日
Hi, is there any algorethim to select random points from a large data file. Lets say I want to select data after every 20 values. x = [1:0.1:1000]
If I want y = select every 10th 20th or 50th point of x
Thanks Amb
4 件のコメント
採用された回答
Mohammad Abouali
2014 年 12 月 12 日
x = [1:0.1:1000];
x_every10th=x(10:10:numel(x));
x_every20th=x(20:20:numel(x));
x_every50th=x(50:50:numel(x));
You get the idea.
4 件のコメント
その他の回答 (1 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!