MathGroup Archive 1998

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

Search the Archive

Re: combine two vectors to form matrix



s2700114@nickel.laurentian.ca wrote:
> 
> could any one tell me how to combine two lists(column vectors) into an n
> x 2 matrix?
> 
> Troy

Consider them to be rows, r1 and r2, and then

{r1,r2}//Transpose

gives you an n x 2 matrix.

Ken Levasseur
UMass Lowell
http://www.wolfram.com/training/companies/levasseur.html



  • Prev by Date: Re: are nested patterns impossible?
  • Next by Date: Re: Question about Mathematica
  • Prev by thread: combine two vectors to form matrix
  • Next by thread: Re: combine two vectors to form matrix