필터 지우기
필터 지우기

How can i calculate the zero of a sinusoidal irregular function?

조회 수: 3 (최근 30일)
ludovico
ludovico 2015년 8월 24일
댓글: Muthu Annamalai 2015년 8월 24일
Hi guys, I'm a newby of Matlab and i'm practising it through necessity, thus the question may sound stupid for those of you expert with this program.. I have a sinusoidal function that is unfortunately not regular, what i mean is that the peaks that it presents are not reached in a steady way, but among the biggest oscillation in which i have to pose my interest, there are many others much more smaller in amplitude that i would like to cut away from the results. I need to isolate the biggest amplitude peaks and leave off the smaller intermediate ones, i have already tried with Excel to elaborate this function but it recognizes not only this "real" peaks, but also the small slight oscillation that the function does to reach the bigger tops. I am lost completely so anyone that has even a tiny idea of how to go through this issue please let me know. Dunno if i have to link some images of the function elaborated with Excel but for clarity i will, right here below. The red dots are the calculated peaks, that for the first part of the function that is regular are rightly found. The problem comes after the vertical bar, where the function becomes unstable in his "growth". Thx so much once again to those who will help..

채택된 답변

Star Strider
Star Strider 2015년 8월 24일
I’m only imagining the figure, the red dots, and the vertical bar, since it hasn’t appeared yet. However, if you have the Signal Processing Toolbox, use the findpeaks function. It has enough options in its ‘Name-Value Pair’ arguments to do almost anything you want.
  댓글 수: 3
Star Strider
Star Strider 2015년 8월 24일
My pleasure.
Now that I see the figure, findpeaks should work.
The signal appears to have a relatively constant frequency, so if you want to fit it to a sine curve and estimate its parameters (other than the amplitude variation), Curve Fitting to a Sinusoidal Function will allow you to do that.
Another option to get the signal characteristics is the fft function.
Muthu Annamalai
Muthu Annamalai 2015년 8월 24일
An off the cuff guess would be the signal is amplitude-modulated by a sinusoid of low frequency; so using a sufficient cut-off high-pass filter may do the trick.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

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