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 help me with a faster solution ?


  • Prev by Date: Re: Noah's List
  • Next by Date: Overloading mathematica built in functions
  • Previous by thread: Re: "hidden" definitions
  • Next by thread: Re: Joining matrices