Selecting random points from data file
古いコメントを表示
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 件のコメント
per isakson
2014 年 12 月 12 日
編集済み: per isakson
2014 年 12 月 12 日
Try
>> M = 1:100;
M(20:20:100)
ans =
20 40 60 80 100
but that's hardly random.
Azzi Abdelmalek
2014 年 12 月 12 日
The question is not clear, "10th 20th or 50th point of x"
amberly hadden
2014 年 12 月 12 日
amberly hadden
2014 年 12 月 12 日
採用された回答
その他の回答 (1 件)
カテゴリ
ヘルプ センター および File Exchange で Interpolation についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!