How to correct for a drifting baseline?

38 ビュー (過去 30 日間)
Lizan
Lizan 2015 年 3 月 17 日
回答済み: Star Strider 2015 年 3 月 17 日
How can I correct for a drfiting signal that is slowly declining, (x,y) values?

回答 (1 件)

Star Strider
Star Strider 2015 年 3 月 17 日
There are several ways, depending on whether the baseline drift is linear or nonlinear. I would start with the detrend function, and if that didn’t give an acceptable result, then consider a low-order polynomial using polyfit and polyval.
There are several other ways to deal with it, including using a bandpass (or highpass) digital filter with a very low low-frequency cutoff. (If possible, I prefer the filter because it gives me more control over the frequency content of my filtered signal. If you want to design a filter, do an fft of your signal first, so that you can determine where best to define your cutoff frequencies.)

カテゴリ

Help Center および File ExchangeAnalog Filters についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by