Effacer les filtres
Effacer les filtres

Locate peaks of an fft without using 'findpeaks'

12 vues (au cours des 30 derniers jours)
Yashwanth
Yashwanth le 5 Juil 2024 à 7:02
Réponse apportée : Star Strider le 5 Juil 2024 à 10:53
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

Réponses (2)

Aditya
Aditya le 5 Juil 2024 à 7:10

Star Strider
Star Strider le 5 Juil 2024 à 10:53
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.

Produits


Version

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by