Home »
Public Forums »
archive »
Where is the largest point ?
Where is the largest point ? [message #26141] |
Wed, 08 August 2001 13:05 |
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.
|
|
|
Current Time: Wed Oct 08 14:32:41 PDT 2025
Total time taken to generate the page: 0.00728 seconds