best way to detect sinusoidal pattern

조회 수: 6 (최근 30일)
joh
joh 2014년 2월 25일
편집: John D'Errico 2014년 2월 25일
What is the best way to filter patterns that looks like a sine wave e.g the 1st one is selected and the last one is filtered out
<<
>>

답변 (1개)

John D'Errico
John D'Errico 2014년 2월 25일
편집: John D'Errico 2014년 2월 25일
Neither of these is truly sinusoidal. At best, you might say the first has an oscillatory behavior. Note that the first one has a strong semi-linear trend in it too. But sinusoidal? Not so. And if it is not actually sinusoidal, your question becomes a bit moot, as now one can only ask about the amplitude of semi-periodic behavior.
So if you wanted that, then you might consider an FFT. See what it can tell you about those patterns. For example, if you saw a strong amplitude at some frequency, what might it tell you?
Or perhaps the wavelet toolbox might be even more appropriate for your purposes.

카테고리

Help CenterFile Exchange에서 Multirate and Multistage Filters에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by