Horizontally Merge Columns from Two Different Matrices
1 view (last 30 days)
Show older comments
Hello, I have this bit of code which merges columns vertically:
Data=[Degree(:,2);Degree1(:,2)];Data(:);
How can I get these columns to line up horizontally?
0 Comments
Answers (1)
Azzi Abdelmalek
on 12 Jul 2015
Edited: Azzi Abdelmalek
on 12 Jul 2015
Data=[Degree(:,2) Degree1(:,2)]
Read the documentation http://www.mathworks.com/help/matlab/math/creating-and-concatenating-matrices.html
0 Comments
See Also
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!