How can I find the baseline of signal?

32 次查看(过去 30 天)
I have a signal like this. How to compute the baseline of the signal? I way trying to use medfilt1, but I can't get rid of the peaks.

回答(1 个)

Star Strider
Star Strider 2021-3-2
See if the min function will do what you want.
If you want to plot a horizontal line indicating the minimum, and if ‘y’ is the signal you are plotting, one option is:
plot(xlim, [1 1]*min(y))
another option is:
yline(min(y))
.

类别

Help CenterFile Exchange 中查找有关 Multirate Signal Processing 的更多信息

产品


版本

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by