How Can I use FFT to extract dq component of specific frequency from distorted signal?

1 回表示 (過去 30 日間)
Khaled Abojlala
Khaled Abojlala 2016 年 9 月 15 日
コメント済み: Walter Roberson 2016 年 9 月 15 日
I am trying to extract a signal with specific frequency from distorted signal using FFT, but I couldn't find the frequency option in simulink 2016.
any ideas

回答 (1 件)

Walter Roberson
Walter Roberson 2016 年 9 月 15 日
The result of the fft will be a vector. Index into the vector. See https://www.mathworks.com/matlabcentral/answers/33009-simulink-block-to-extract-signal-at-index-from-vector-signal-doesn-t-exist for information on indexing.
You would need to calculate the index to use, in the standard ways based on Fs and number of points to determine the bin width.
  2 件のコメント
Khaled Abojlala
Khaled Abojlala 2016 年 9 月 15 日
Thanks but How can I extract the required frequency from this output?
Walter Roberson
Walter Roberson 2016 年 9 月 15 日
frequency resolution is number of points divided by Fs divided by 2. Bin index is 1 + floor(target frequency divided by frequency resolution) . You can do those mathematical calculations using Math blocks

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeFourier Analysis and Filtering についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by