Re: find index [message #52708] |
Mon, 26 February 2007 11:26 |
m.goullant@gmail.com
Messages: 10 Registered: July 2006
|
Junior Member |
|
|
Thank you all!
Cheers,
Marie
On Feb 26, 4:02 pm, "Brian Larsen" <balar...@gmail.com> wrote:
> For advise on index manipulation I would start here:http://www.dfanning.com/idl_way/chunkindex.html
>
> If you haven't read basically all of that site, you should, as should
> every idl programmer (thanks Coyote).
>
> Cheers,
>
> Brian
>
> ------------------------------------------------------------ ---------
> Brian A. Larsen
> Dept. of Physics
> Space Science and Engineering Lab (SSEL)
> Montana State University - Bozeman
> Bozeman, MT 59717
|
|
|
Re: find index [message #52713 is a reply to message #52708] |
Mon, 26 February 2007 07:02  |
Brian Larsen
Messages: 270 Registered: June 2006
|
Senior Member |
|
|
For advise on index manipulation I would start here:
http://www.dfanning.com/idl_way/chunkindex.html
If you haven't read basically all of that site, you should, as should
every idl programmer (thanks Coyote).
Cheers,
Brian
------------------------------------------------------------ ---------
Brian A. Larsen
Dept. of Physics
Space Science and Engineering Lab (SSEL)
Montana State University - Bozeman
Bozeman, MT 59717
|
|
|
Re: find index [message #52715 is a reply to message #52713] |
Mon, 26 February 2007 05:14  |
R.Bauer
Messages: 1424 Registered: November 1998
|
Senior Member |
|
|
m.goullant@gmail.com wrote:
> Hi all,
>
> Example:
> I have a variable named "aa" with an height value for example, and a
> vector "vb" with many height values. When I do this
> dif = ABS(vb - aa)
> mindif = MIN(dif)
>
> there is any way to get the index for "dif" where the minimum
> difference are?
>
> Cheers,
> Marie
>
> SN: Anyone can advice me documentation about index manipulation with
> various data?
>
mindif = MIN(dif,index)
--
Reimar Bauer
Institut fuer Stratosphaerische Chemie (ICG-1)
Forschungszentrum Juelich
email: R.Bauer@fz-juelich.de
------------------------------------------------------------ -------
a IDL library at ForschungsZentrum Juelich
http://www.fz-juelich.de/icg/icg-i/idl_icglib/idl_lib_intro. html
============================================================ =======
|
|
|