MathGroup Archive 1998

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

Search the Archive

Re: combine two vectors to form matrix



How about:

one=Table[{i},{i,1,9,2}]
two=Table[{i},{i,2,10,2}]
combined=Transpose[{Flatten[one],Flatten[two]}]


John C. Erb
-----Original Message-----
From: s2700114@nickel.laurentian.ca <s2700114@nickel.laurentian.ca> To:
mathgroup@smc.vnet.net
Subject: [mg11288] [mg11222] combine two vectors to form matrix


>could any one tell me how to combine two lists(column vectors) into an n
>x 2 matrix?
>
>Troy
>




  • Prev by Date: Re: Plotting alogrithm question..
  • Next by Date: Re: Efficient use of coefficient--Efficient simplification
  • Prev by thread: Re: combine two vectors to form matrix
  • Next by thread: Uses for Identity[expr]?