フィルターのクリア

Finding index of a maximum value in an FFT

1 回表示 (過去 30 日間)
Marek Andrzej
Marek Andrzej 2016 年 11 月 30 日
コメント済み: Marek Andrzej 2016 年 11 月 30 日
In a simple model I graph my FFT and I can clearly see the index of the peak value, but I can't get it "mathematically" so to speak. I tried peak finder but couldn't get it to work. Attaching my results.

回答 (1 件)

KSSV
KSSV 2016 年 11 月 30 日
doc max
  3 件のコメント
KSSV
KSSV 2016 年 11 月 30 日
It is a function......Read the documentation of max
Marek Andrzej
Marek Andrzej 2016 年 11 月 30 日
I used max in the past for same task in matlab, but simulink counterpart doesn't seem to be helpful. Both peak finder and maximum blocks gave me the same index, which is hardly correlate-able to 50Hz wave. buffer outputs 4096 points of data and Pad adds 4096 zeros.

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

カテゴリ

Help Center および File ExchangeTransforms についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by