Path: news.mathworks.com!not-for-mail
From: "manesh g" <manesh_g2001@yahoo.com>
Newsgroups: comp.soft-sys.matlab
Subject: peak position
Date: Fri, 16 Jan 2009 05:05:04 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 6
Message-ID: <gkp4i0$2au$1@fred.mathworks.com>
Reply-To: "manesh g" <manesh_g2001@yahoo.com>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1232082304 2398 172.30.248.37 (16 Jan 2009 05:05:04 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Fri, 16 Jan 2009 05:05:04 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1403741
Xref: news.mathworks.com comp.soft-sys.matlab:511929


Hi all..
I have 100 plots in a figure window. Each curve has a peak within x range say between 10-100. The peak positions are not at the same x-values but all of them lie within this range. I wish to write a script which can find the peak x values of each plot (100 of them) in the graph window provided the X range is defined. 
How to write such a script in matlab? The use of ginput to find the maximum x value is tedius in my case.
Any help shall be highly appreciated..
thank you,
Mane