Filter time-variant data and reduce its length
古いコメントを表示
Hi experts,
I have a time-variant test data. The 1st column is time, and the 2nd column is data. There is a serious fluctuation of it. I want to filter the data and at the same time want to reduce its length.
Could somebody guide me how to do this? Thank you!
採用された回答
その他の回答 (1 件)
Thiago Henrique Gomes Lobato
2020 年 4 月 26 日
Take a look at medfilt1 and/or movmean. They sould help you reduce the fluctuations. To reduce the data length you just index the time you want:
idx1 = 100;
idx2 = 900;
Data = Data(idx1:idx2,:); % Data = Length x 2 matrix
In this example your data will go only from meausurement point 100 to measurement point 900.
カテゴリ
ヘルプ センター および File Exchange で Digital Filter Analysis についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!