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

Home » Public Forums » archive » Re: Magic with matrix
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: Magic with matrix [message #42379] Thu, 27 January 2005 08:36
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Ahs writes:

> I guess this is just peanuts for you guys, but it would be very helpful
> for me.
>
> I have a 3dim matrix with the size ns x nb x nl, and I would like to
> change around the dimensions so that the new size is
> nb x ns x nl, without mixing up the data.
>
> I would like to manage this without creating a new matrix and copy the
> data over dimension by dimension. Is there a built in function I can
> use?

Here is an article for you:

http://www.dfanning.com/ip_tips/pixelband.html

You use the TRANSPOSE command.

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Previous Topic: Magic with matrix
Next Topic: IDL 6.1.1 : how to activate opengl in hardware ?

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

Current Time: Wed Oct 08 16:07:45 PDT 2025

Total time taken to generate the page: 0.00396 seconds