detect peak position of a curve

Status
Not open for further replies.

fareb

Newbie level 5
Joined
Aug 27, 2009
Messages
8
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,334
peak postion

hi,
if i wnat to detect second peak of a curve(first peak is heigher) in matlab, what i should do?

can anyone help me?

thanks
 

peak position

Take derivative of the curve, and look for the 2nd highest value where the derivative is close to 0. Make sure to look for the value at least some distance away from the highest point.
 
Reactions: fareb

    fareb

    Points: 2
    Helpful Answer Positive Rating
detect curve

thanks a lot.

with your help I could solve my problem.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…