필터 지우기
필터 지우기

fundamental frequency of amplitude data

조회 수: 8 (최근 30일)
Abhijit Sardar
Abhijit Sardar 2021년 1월 30일
댓글: Image Analyst 2021년 1월 31일
How can i find fundamental frequency, second and third higher harmonic of the given data?.
  댓글 수: 1
Star Strider
Star Strider 2021년 1월 30일
I have no idea what those variables represent, much less how to assign them to variables.

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

답변 (1개)

Image Analyst
Image Analyst 2021년 1월 30일
I guess you could take the fft, and the element with the greatest magnitude would be the fundamental frequency, the one at twice the index would be the second harmonic, the element at three times that index would be the energy in the third harmonic, etc. Did you try calling fft() or pwelch()? Do you have any other, different definition of fundamental frequency?
  댓글 수: 2
Abhijit Sardar
Abhijit Sardar 2021년 1월 31일
what does welch do also how can i find peak to peak amplitude?
Image Analyst
Image Analyst 2021년 1월 31일
It's the power spectral density. I don't even know what "peak-to-peak amplitude" means. Please define it. To get the amplitude of one peak, or actually of ANY frequency, in the spectrum, you simply look at the value of the array at that frequency. "Peak to peak" is the distance, in units of hertz of the distance between two peaks - it is not an amplitude - it is a frequency difference. If you want the ratio of amplitudes between the PSD at two frequencies, you obviously just take the ratio, like ratio = psdSignal(10)/psdSignal(5), or whatever.

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

카테고리

Help CenterFile Exchange에서 Parametric Spectral Estimation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by