Aug 27, 2009 #1 F 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 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
Aug 27, 2009 #2 eecs4ever Full Member level 3 Joined Jan 31, 2006 Messages 176 Helped 28 Reputation 56 Reaction score 10 Trophy points 1,298 Location Analog Environment Activity points 2,838 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.
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.
Aug 28, 2009 #3 F 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 detect curve thanks a lot. with your help I could solve my problem.