Here is my data and there are many peaks in this but what I want is the peak points of all the peaks. For example, if u see inverted 'V', i would like to take all the peak points which are in the shape of inverted V. The data is 4.133 4580.870000 4.147 4522.753000 4.160 4544.999000 4.173 4320.170000 4.187 3852.261000 4.200 2983.557000 4.213 2204.932000 4.227 1688.726000 4.240 1491.867000 4.253 1356.093000 4.267 1261.753000 4.280 1190.170000 4.293 1124.783000 4.307 1094.119000 4.320 1114.318000 4.333 1252.891000 4.347 1478.661000 4.360 1762.938000 4.373 2064.138000 4.387 2315.862000 4.400 2468.983000 4.413 2473.469000 4.427 2371.415000 4.440 2218.509000 4.453 2084.542000 4.467 2029.188000 4.480 2061.031000 4.493 2175.584000 4.507 2356.933000 4.520 2530.640000 4.533 2651.499000 4.547 2663.464000 4.560 2573.727000 4.573 2395.451000 4.587 2161.262000 4.600 1864.649000 4.613 1562.872000 4.627 1320.748000 4.640 1100.427000 4.653 933.987000 4.667 839.831000 4.680 814.717000 4.693 847.989000 4.707 935.309000 4.720 1073.745000 4.733 1320.070000 4.747 1664.151000 4.760 2098.538000 4.773 2588.583000 Postulant's script is working fine but I am getting peak point among all the data ie, i am getting highest peak point of inverted 'V'but I want for all the inverted V shaped peak point.

In reply to Re^4: Any idea for predicting the peak points in the graph by perl by Anonymous Monk
in thread Any idea for predicting the peak points in the graph by perl by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.