Info

This question is closed. Reopen it to edit or answer.

how to detect peak and index?

1 view (last 30 days)
benghenia aek
benghenia aek on 31 Jan 2019
Closed: benghenia aek on 1 Feb 2019
I have vector A
A=[1 2 5 4 9 nan nan 9 0 23 12 nan nan nan 6 2 23 5 12 29];
i need to detect peak for each segment and his index
peak=[5 23 23]
index=[3 10 17]

Answers (0)

Community Treasure Hunt

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

Start Hunting!