How to alternate columns of two matrix lists in one matrix?

jospercomp shared this question 2 years ago
Needs Answer

a={{"a11", "a12"}, {"a21", "a22"}}

b={{"b11", "b12"}, {"b21", "b22"}}

c={{"a11", "b11", "a12", "b12"}, {"a21", "b21", "a22", "b22"}}

How to alternate the columns of two matrix lists in one matrix for larger matrices?

495315db1beca96aedf525596268c5db

Comments (1)

photo
1

c=Transpose(Join(Zip({m1, m2}, m1, Transpose(a), m2, Transpose(b))))

© 2023 International GeoGebra Institute