How to detrend the signal?

2 ビュー (過去 30 日間)
Wan Daniel
Wan Daniel 2021 年 4 月 18 日
回答済み: Image Analyst 2021 年 4 月 18 日
Folder signal 1 contain all the files needed to run the mat.file code and plot the signal.
The jpg file shows that my signal needed to be detrend so that it will stay on the proper axis.

回答 (2 件)

Paul
Paul 2021 年 4 月 18 日
Have you looked at
doc detrend

Image Analyst
Image Analyst 2021 年 4 月 18 日
Depends on what you define as the trend. Maybe a time varying signal? Perhaps movmean() or sgolayfilt() can get you a good mean from which you can subtract from the original signal.

カテゴリ

Help Center および File ExchangeSpectral Measurements についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by