Reduce data points from 200 to 108
古いコメントを表示
I have a data series with 200 data points and I need to compress this information to 108 data points. I don't think I can use a moving average filter as the window wouldn't be an integer so is there a way in MATLAB to do this?
採用された回答
その他の回答 (1 件)
Do you want to:
- truncate your signal?
- downsample or resample
- interpolate
- something else?
Truncate example:
t = 1:200;
x = rand(1,200);
x2 = x(1:108);
2 件のコメント
Maxwell Barton
2019 年 11 月 21 日
Daniel M
2019 年 11 月 21 日
That's what resampling function is for. Star Strider has responded under his answer.
カテゴリ
ヘルプ センター および File Exchange で Multirate Signal Processing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!