Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: peak position
Date: Sat, 17 Jan 2009 05:07:02 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 5
Message-ID: <gkrp1m$m3i$1@fred.mathworks.com>
References: <gkp4i0$2au$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1232168822 22642 172.30.248.35 (17 Jan 2009 05:07:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sat, 17 Jan 2009 05:07:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1343420
Xref: news.mathworks.com comp.soft-sys.matlab:512179


Mane
Unlike the others, I'm assuming you have the data, because after all, you plotted them.  There is a findpeaks() function in the signal processing toolkit.  Also take a look at this peak finding code for MATLAB:
http://billauer.co.il/peakdet.html
This will find the peaks and valleys of each curve, and allow you some determination as to what exactly constitutes a "peak," so that you can find just the major peaks and avoid little tiny noisy peaks on the major peaks if that's what you want to do.
-ImageAnalyst