convert two column matrices into one column matrix
조회 수: 76 (최근 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!