MathGroup Archive 2004

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

Search the Archive

RE: Combining Vectors to Form a Matrix


Example :

be careful :  A vector with n composants is not a n x 1 - Matrix in
Mathematica, but a  list of length n !

Example with n=6 :

(v1=Table[Random[Integer,{0,10}],{6}])//MatrixForm


(v2=Table[Random[Integer,{0,10}],{6}])//MatrixForm


(matr=Transpose[{v1,v2}])//MatrixForm


Florian Jaccard


-----Message d'origine-----
De : Gregory Lypny [mailto:gregory.lypny at videotron.ca]
Envoyé : jeu., 26. février 2004 23:55
À : mathgroup at smc.vnet.net
Objet : [mg46656] Combining Vectors to Form a Matrix


Hello Everyone,

	What Mathematica function do I use to combine two n x 1 vectors to get
a n x 2 matrix?

	Greg




  • Prev by Date: Re: Summation limits
  • Next by Date: Re: eigenvector rotation
  • Previous by thread: RE: Combining Vectors to Form a Matrix
  • Next by thread: eliminate the 2 in binary