How to get the fundamental frequency magnitude ?

6 次查看(过去 30 天)
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 个评论

请先登录,再进行评论。

更多回答(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