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

Home » Public Forums » archive » Re: matrix - element extraction
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: matrix - element extraction [message #66875] Fri, 19 June 2009 04:51
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Damien writes:

> Is there an IDL function in order to extract a range of values from a
> matrix ?
>
> For example for a x = [0,1,2,3,4,5] matrix
>
> Could I extract the first 3 values through :
>
> example_extraction = x [0 : 2]

The wonderful thing about IDL is that it is often
faster to perform the experiment than to write a
question about it! ;-)

Cheers,

David


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Map Projection Conversion in ENVI
Next Topic: Using t3d to perform a reflection

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

Current Time: Wed Oct 08 18:41:03 PDT 2025

Total time taken to generate the page: 0.00469 seconds