Find a value in a matrix

2 views (last 30 days)
Jacopo Zini
Jacopo Zini on 21 Apr 2021
Commented: Jacopo Zini on 22 Apr 2021
Hi all, I have poltted on spectrum (x=Raman shift, Y= intesity) and I'd like to get the position of one peak in the matrix i.e.find the index of the the peak at 1400.
thanks for your help

Answers (1)

John D'Errico
John D'Errico on 21 Apr 2021
help max
Look at the SECOND argument returned from max.

Tags

Community Treasure Hunt

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

Start Hunting!