필터 지우기
필터 지우기

Finding amplitude and frequency of this signal

조회 수: 29 (최근 30일)
Jonathan Phua
Jonathan Phua 2019년 1월 10일
편집: Andrey Kiselnikov 2019년 1월 24일
Currently, I'm having trouble with finding the amplitude and frequency of this signal I have obtained. I had the idea to use the findpeaks function but it seems to be giving me all the minor peaks in the signal which will affect my calculations for the amplitude. As for the frequency, I was also planning to use the diff in peak times to calculate the period but I'm currently facing the same problem as the findpeaks function also detects the minor peaks. Is there a way to omit the minor peaks in the signal such that a more accurate amplitude calculation can be obtained? Sorry I'm new to Matlab and would appreciate any help I can get!
Here is the graph below!

답변 (1개)

Andrey Kiselnikov
Andrey Kiselnikov 2019년 1월 24일
편집: Andrey Kiselnikov 2019년 1월 24일
You can try the FFT transform, then find the most significant component. https://www.mathworks.com/help/matlab/ref/fft.html
The magnitude of the "quasi-harmonic" signal changes every time moment, maybe you need to evaluate some effective value?
p.s. Do not forget to apply some window function to your signal before transform.

카테고리

Help CenterFile Exchange에서 Signal Operations에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by