How to merge two matrix and create a table

1 view (last 30 days)
I've got two matrix
A
1,24 0,915 1,67 0,34
1,45 0,784 1,14 0,30
1,31 0,834 1,12 0,36
B
1,06 0,82 1,38 0,41
1,35 0,72 1,09 0,39
I'd like to get
C
1,45 1,06 0,784 0,82 1,14 1,38 0,30 0,41
1,31 1,35 0,834 0,72 1,12 1,09 0,36 0,39
And then create a table. For the table the idea is that the columns must be named in groups of 2, (column1 and 2 same name, column 3 and 4 same name....). thank you very much!!!!
  1 Comment
Image Analyst
Image Analyst on 3 Jun 2014
Can you explain in words how this array was created? Like will A and B ever have different sizes? Than your example? Does the first row of A always get ignored? Will B always have one less row than A?

Sign in to comment.

Answers (0)

Categories

Find more on Matrices and Arrays in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!