How can I determine the frequency of a signal in Simulink?

292 ビュー (過去 30 日間)
MathWorks Support Team
MathWorks Support Team 2009 年 6 月 27 日
コメント済み: Jan 2019 年 7 月 8 日
I would like to use a built-in Simulink block to determine the frequency of a signal.

採用された回答

MathWorks Support Team
MathWorks Support Team 2018 年 5 月 7 日
A built-in block that determines the frequency of a signal is not available in the Simulink product.
To work around this issue, you can write a C-MEX S-function that implements a fast Fourier transform (FFT) algorithm. For more information, see "Writing S-Functions" in the Simulink documentation.
Otherwise, use one of the following built-in options provided by the Signal Processing or DSP toolbox products:
  • Use the Spectrum Scope block to compute the frequency of a signal.
  • Use the FFT and Buffer blocks to create a signal frame and analyze its frequency.

その他の回答 (1 件)

AbhimanyuSingh
AbhimanyuSingh 2017 年 8 月 9 日
There is no such block which can directly calculate the frequency of block, but we can design a subsystem which can give you the frequency of signal. Please find the snapshot for the same:
  2 件のコメント
Jan
Jan 2018 年 7 月 19 日
@Jean Ubertalli: Please do not use flags for posting comments.
Jan
Jan 2019 年 7 月 8 日
@SUMANT ANAND: It is hard so solve "similar" problems. Please open a new thread and explain your specific problem.

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

カテゴリ

Help Center および File ExchangeArray and Matrix Mathematics についてさらに検索

タグ

タグが未入力です。

製品


リリース

R2007a

Community Treasure Hunt

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

Start Hunting!

Translated by