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 CenterFile Exchange에서 Descriptive Statistics에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by