convert two column matrices into one column matrix
74 次查看(过去 30 天)
显示 更早的评论
Hello I want to combine two column vector matrices into one column vector matrix like the example A=[1;4;6;7;8] B=[10;21;11;9] C must be like: C=[1;4;6;7;8;10;21;11;9]
I need a general answer because I have many and large columns. Thank you
1 个评论
Thallon Pitchure
2020-8-29
Hello! Would anyone be able to answer this except have two column vectors in a single matrix?
采纳的回答
José-Luis
2014-6-23
C = [A(:);B(:)]
This is a pretty basic question. I recommend you read the "Getting started" part of the documentation.
0 个评论
更多回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Numeric Types 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!