Locate peaks of an fft without using 'findpeaks'

조회 수: 4 (최근 30일)
Yashwanth
Yashwanth 2024년 7월 5일
답변: Star Strider 2024년 7월 5일
Hi everyone .. I have some data from an fft and need to locate the peaks .I know the ' findpeaks' function performs this but I don't have the license to signal processing tool

답변 (2개)

Aditya
Aditya 2024년 7월 5일

Star Strider
Star Strider 2024년 7월 5일
In R2023a you should have the islocalmax function, that does essentially the same as findpeaks, although with slightly different output. You will have to use the find function to get the numerical indices of tthe peaks from tthe logical vector islocalmax returns.

카테고리

Help CenterFile Exchange에서 Spectral Estimation에 대해 자세히 알아보기

제품


릴리스

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by