Locate peaks of an fft without using 'findpeaks'

5 ビュー (過去 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 Center および File ExchangeSpectral Estimation についてさらに検索

製品


リリース

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by