필터 지우기
필터 지우기

Finding harmonic amplitudes of a sine wave

조회 수: 3 (최근 30일)
Syed AWM
Syed AWM 2020년 9월 24일
댓글: Image Analyst 2020년 10월 3일
I have got a sine wave as below, where I want to extract the amplitude of different harmonics from a data vector in matlab. can someone help me how to do it (other than fft maybe)?
  댓글 수: 4
Asad (Mehrzad) Khoddam
Asad (Mehrzad) Khoddam 2020년 10월 1일
Do you want to fit the data into a sine wave (single harmonic) ?
Syed AWM
Syed AWM 2020년 10월 1일
no, I just need the amplitude of different harmonics

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

답변 (1개)

Image Analyst
Image Analyst 2020년 10월 1일
Looks like that is a pure sine wave with no harmonics. How did you generate it? Why do you think there are any harmonics? None are visible to me. Do the higher harmonics just have super small power - too small to be seen at the scale of the graph you have drawn?
Anyway, I'd try using findpeaks() if you want to do it in the time/spatial domain instead of using fft() or pwelch() to do it in the frequency domain.
  댓글 수: 1
Image Analyst
Image Analyst 2020년 10월 3일
Syed, I assume you've had time by now to try this, but you forgot to get back to us. Did it work?

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

카테고리

Help CenterFile Exchange에서 Fourier Analysis and Filtering에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by