How to detect the locations of the peaks in a signal??

I am able to detect peaks in a signal using findpeaks. By using the findpeaks, it is showing the locations next to the peak occurances. But how to detect the locations of the peaks??

1 Comment

Prove it with a short signal so we can verify that it's not finding the correct locations.

Sign in to comment.

Asked:

on 5 Nov 2014

Commented:

on 5 Nov 2014

Community Treasure Hunt

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

Start Hunting!