how do i find the matching data for locs when using findpeaks()
    3 Ansichten (letzte 30 Tage)
  
       Ältere Kommentare anzeigen
    
    chengwei zhang
 am 5 Feb. 2020
  
    
    
    
    
    Kommentiert: chengwei zhang
 am 5 Feb. 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 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


