Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
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.")