필터 지우기
필터 지우기

How to get the fundamental frequency magnitude ?

조회 수: 6 (최근 30일)
Andre
Andre 2014년 5월 5일
댓글: Star Strider 2014년 5월 7일
Hi,
I have an array of a pseudo-sin signal.
I want to get the fundamental magnitude of it knowing the fundamental frequency.
My approach is (about 4-5 command lines)...,
a) fft the signal; b) search for the magnitude of the fundamental frequency; c) show the magnitude.
There is no command to get the fundamental magnitude easily ?
Thanks.
Andre

채택된 답변

Star Strider
Star Strider 2014년 5월 5일
If you have the Signal Processing Toolbox, use the findpeaks function.
  댓글 수: 12
Andre
Andre 2014년 5월 7일
Thank you very much.
Andre
Star Strider
Star Strider 2014년 5월 7일
Again, my pleasure!

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

추가 답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by