Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

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: [mg83722] Re: [mg83705] Convert nxn matrix to a column vector with (n^2) elements
  • From: Sseziwa Mukasa <mukasa at jeol.com>
  • Date: Thu, 29 Nov 2007 06:20:01 -0500 (EST)
  • References: <200711281046.FAA18310@smc.vnet.net>

On Nov 28, 2007, at 5:46 AM, Tara.Ann.Lorenz at gmail.com wrote:

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

toColumnVector[x_]:=Transpose[{Flatten[x]}]

Regards,

Ssezi


  • Prev by Date: Re: Convert nxn matrix to a column vector with (n^2)
  • Next by Date: Re: Convert nxn matrix to a column vector with (n^2) elements
  • Previous by thread: Re: 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