comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Where is the largest point ?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Where is the largest point ? [message #26141] Wed, 08 August 2001 13:05
Guillaume Dargaud is currently offline  Guillaume Dargaud
Messages: 15
Registered: January 2001
Junior Member
I'm still pretty basic at IDL and a lot of the _no loop_ concepts escape me
entirely (I'm too used to C and such).
If I have a 2D matrix, how do I find where is the maximum ?
Say:

Mat=FltArr(NbX, NbY)
...
[Xmax, YMax] = Where( Mat eq Max(Mat) )

or something like that ?
--
Guillaume Dargaud
Colorado State University - Dept of Atmospheric Science
http://rome.atmos.colostate.edu/
"If those folks in Kansas are right about evolution never having happened,
I sure hope it happens soon." - Michael Sheinbaum.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Am I stupid?
Next Topic: Re: Where is the largest point ?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 14:32:41 PDT 2025

Total time taken to generate the page: 0.00728 seconds