MathGroup Archive 1997

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

Search the Archive

Joining matrices


i have to join 2 or more matrices line by line
for example : joinmat[{{{1,2},{3,4}},{{10,20},{30,40}}}] 
                 --> {{1,2,10,20},{3,4,30,40}}

i have tried Transpose [Flatten[Transpose /@ ListOfMatrices,1]]
but it seems rather slow

can anyone please help me with a faster solution ?



  • Prev by Date: Question: Purchase of Mathematica
  • Next by Date: Re: Overloading mathematica built in functions
  • Previous by thread: Re: Joining matrices
  • Next by thread: Overloading mathematica built in functions