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

Home » Public Forums » archive » transforming a row vector into a column vector
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
transforming a row vector into a column vector [message #46032] Tue, 25 October 2005 06:57
Francois L. is currently offline  Francois L.
Messages: 19
Registered: December 2004
Junior Member
Hello,

I want to transform the row vector (1-D array) into a column vector.

Having a row vector a:
IDL> a = [1,2,3,4]

If I use the transpose command:
IDL> b = transpose(a)

I get the following:
IDL> print, size(a)
1 2 3 4
IDL> print, size(b)
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: another Dumb Widget question...
Next Topic: transforming a row vector into a column vector (continued)

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

Current Time: Wed Oct 08 17:37:33 PDT 2025

Total time taken to generate the page: 0.00560 seconds