How to get the fundamental frequency magnitude ?

2 ビュー (過去 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 Center および File ExchangeSpectral Estimation についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by