how to find peak in signal.

조회 수: 2 (최근 30일)
best16 programmer
best16 programmer 2017년 4월 13일
답변: Star Strider 2017년 4월 13일
hi matlab community. I have a problem of detecting peak of the signal in image bellow,because there is positive side of the signal and a negative side.what is the definition of peak for such as signals. thank you

답변 (1개)

Star Strider
Star Strider 2017년 4월 13일
I would first filter out the high-frequency noise, most likely with a lowpass (rather than a bandpass) filter. The designfilt function is a good choice. Before you design your filter, use the fft (link) function to determine where the noise spectrum and the signal spectrum are so you can design the filter correctly.
A ‘peak’ is what you define it to be. Depending on what you want to do, use the max and min functions, or the findpeaks function on your signal to find the positive peak and on the negative of your signal to find the negative peak. See the documentation for these functions to determine the best choice for your data.

카테고리

Help CenterFile Exchange에서 Descriptive Statistics에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by