How to define a for loop for given FINDPEAKS problem ?
Afficher commentaires plus anciens
[A1,L] = findpeaks(A(:,1));
A1(:,2) = A(L,2);
[A2,L1] = findpeaks(A1(:,1));
A2(:,2) = A1(L1,2);
[A3,L2] = findpeaks(A2(:,1));
A3(:,2) = A2(L2,2);
2 commentaires
Dyuman Joshi
le 24 Fév 2024
Modifié(e) : Dyuman Joshi
le 24 Fév 2024
What exactly are you trying to do here?
Parvesh Deepan
le 24 Fév 2024
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Seismology dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!