how to print two matrices side by side
Show older comments
I have two matrices which have different number of rows and I want to print them side by side (better with column labels). For example, I have
>> test
test =
12 13
1 14
1 14
>> test2
test2 =
14 88
1 66
I want to get something like
label1 label2 label3 label4
12 13 14 88
1 14 1 66
1 14
How can I do that? Thanks a lot!
Accepted Answer
More Answers (0)
Categories
Find more on Multidimensional 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!