How can i change the timestep of my data set and reduce the number of data?

5 ビュー (過去 30 日間)
Abbas Yari
Abbas Yari 2018 年 7 月 16 日
コメント済み: Abbas Yari 2018 年 7 月 16 日
I have a set of data including 220 points (time,force). The time step is 0.004. I want to reduce the number of data to 186. Is that possible? Any help is appreciated...

採用された回答

KSSV
KSSV 2018 年 7 月 16 日
Read about interp1. Let t be your time data, and F be your force data.
ti = linspace(min(t),max(t),186) ;
Fi = interp1(t,F,ti) ;

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMultirate Signal Processing についてさらに検索

製品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by