Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2004
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2004

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

Search the Archive

RE: Combining Vectors to Form a Matrix

  • To: mathgroup at smc.vnet.net
  • Subject: [mg46665] RE: [mg46656] Combining Vectors to Form a Matrix
  • From: "Florian Jaccard" <florian.jaccard at eiaj.ch>
  • Date: Fri, 27 Feb 2004 19:31:55 -0500 (EST)
  • Reply-to: <florian.jaccard at eiaj.ch>
  • Sender: owner-wri-mathgroup at wolfram.com

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