how do i find the matching data for locs when using findpeaks()
    3 vues (au cours des 30 derniers jours)
  
       Afficher commentaires plus anciens
    
    chengwei zhang
 le 5 Fév 2020
  
    
    
    
    
    Commenté : chengwei zhang
 le 5 Fév 2020
            Hi
I am using the function 
[pks,locs]=findpeaks()
and the locs returns the position of that pks in the data when plotting
but what I want is plotting the pks and the other coloum in the data not the locs as the x-axis
thanks in advance
2 commentaires
Réponse acceptée
Plus de réponses (0)
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


