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

Home » Public Forums » archive » Re: find index
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
Re: find index [message #52708] Mon, 26 February 2007 11:26
m.goullant@gmail.com is currently offline  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 Go to previous message
Brian Larsen is currently offline  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 Go to previous message
R.Bauer is currently offline  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
============================================================ =======
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: socket issue
Next Topic: Re: how can i use envi in batch mode to build mask from EVFs

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

Current Time: Wed Oct 08 15:49:30 PDT 2025

Total time taken to generate the page: 0.00582 seconds