How can I find the baseline of signal?
32 views (last 30 days)
Show older comments
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.
0 Comments
Answers (1)
Star Strider
on 2 Mar 2021
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))
.
0 Comments
See Also
Categories
Find more on Multirate Signal Processing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!