how do i find the matching data for locs when using findpeaks()
3 views (last 30 days)
Show older comments
chengwei zhang
on 5 Feb 2020
Commented: chengwei zhang
on 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 Comments
Accepted Answer
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!