Find a value in a matrix

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)

help max
Look at the SECOND argument returned from max.

Categories

Tags

Asked:

on 21 Apr 2021

Commented:

on 22 Apr 2021

Community Treasure Hunt

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

Start Hunting!