How can I find the baseline of signal?

조회 수: 10 (최근 30일)
Yuhan Yang
Yuhan Yang 2021년 3월 2일
답변: Star Strider 2021년 3월 2일
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에서 Signal Processing Toolbox에 대해 자세히 알아보기

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by