comp.lang.idl-pvwave archive - RDF feed
type: channel
description: Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
items: Re: Finding all max/min of a graph

Re: Finding all max/min of a graph
type: item
description: In article <39bd0e6f.0@news.nwl.ac.uk>, wmc@bas.ac.uk writes: > This may or may not be a FAQ but my rather feeble search failed to > find it... > > I have a graph with about 10 (local) max/mins, I'd like to find them > all, objectively. What do I do? > I've a routine named EXTREMA which'll do just this. E-mail for details Mati Meron | "When you argue with a fool, meron@cars.uchicago.edu | chances are he is doing just the same"
creator: meron
date: 2000-09-11T18:31:22-00:00

Re: Finding all max/min of a graph
type: item
description: wmc@bas.ac.uk wrote: > > This may or may not be a FAQ but my rather feeble search failed to > find it... > > I have a graph with about 10 (local) max/mins, I'd like to find them > all, objectively. What do I do? > We had a lengthy debate concerning just this topic a few months ago. The topic was expanded to include n point extrema, but for the simple case of a point either less than or greater than both of it's nearest neighbors, you could try: wh=where(d ne median(d,3)) JD -- J.D. Smith /*\ WORK: (607) 255-6263 Cornell University Dept. of Astronomy \*/ (607) 255-5842 304 Space Sciences Bldg. /*\ FAX: (607) 255-5875 Ithaca, NY 14853 \*/
creator: John-David T. Smith
date: 2000-09-12T00:25:49-00:00

Re: Finding all max/min of a graph
type: item
description: J.D. Smith <jdsmith@astro.cornell.edu> wrote: > wmc@bas.ac.uk wrote: >> I have a graph with about 10 (local) max/mins, I'd like to find them >> all, objectively. What do I do? > We had a lengthy debate concerning just this topic a few months ago. The topic > was expanded to include n point extrema, but for the simple case of a point > either less than or greater than both of it's nearest neighbors, you could try: > wh=where(d ne median(d,3)) For my purposes, Mati Meron's EXTREMA function worked very nicely. -W. -- William M Connolley | wmc@bas.ac.uk | http://www.nerc-bas.ac.uk/icd/wmc/ Climate Modeller, British Antarctic Survey | Disclaimer: I speak for myself
creator: wmc
date: 2000-09-12T12:21:43-00:00