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 
Return to the default flat view Create a new topic Submit Reply
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
============================================================ =======
[Message index]
 
Read Message
Read Message
Read Message
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: Fri Oct 10 11:06:31 PDT 2025

Total time taken to generate the page: 0.23727 seconds