Finding Maximum Values And Putting Auto Cursor

Hello,
I have X and Y data and plotted a figure with these data(with plot(X,Y) code). These X and Y points will be changed with obtaining new experimental results. I want to find the first 3 maximum points of Y and to put auto data cursor on these maximum points.
How can i solve these problems?
Thanks in advance

 채택된 답변

KSSV
KSSV 2017년 3월 22일

1 개 추천

Read about findpeaks. This exactly does what you want.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Annotations에 대해 자세히 알아보기

질문:

2017년 3월 21일

답변:

2017년 3월 22일

Community Treasure Hunt

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

Start Hunting!

Translated by