MathGroup Archive 2007

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Convert nxn matrix to a column vector with (n^2) elements

  • To: mathgroup at smc.vnet.net
  • Subject: [mg83717] Re: [mg83705] Convert nxn matrix to a column vector with (n^2) elements
  • From: Vassilis Dimitrakas <vdimitrakas at googlemail.com>
  • Date: Thu, 29 Nov 2007 06:16:55 -0500 (EST)
  • References: <200711281046.FAA18310@smc.vnet.net>

Let M be your square matrix. Just type Vector =Flatten[Transpose[M]];


----- Original Message ----- 
From: <Tara.Ann.Lorenz at gmail.com>
To: <mathgroup at smc.vnet.net>
Sent: Wednesday, November 28, 2007 12:46 PM
Subject: [mg83717] [mg83705] Convert nxn matrix to a column vector with (n^2) elements


> Any ideas how to convert an nxn matrix to a column vector with n^2
> elements?
> 



  • Prev by Date: Derivative of function with indexed variables
  • Next by Date: Re: Create random binary images
  • Previous by thread: Convert nxn matrix to a column vector with (n^2) elements
  • Next by thread: Re: Convert nxn matrix to a column vector with (n^2) elements