take three matrices into a single matrix
조회 수: 1 (최근 30일)
이전 댓글 표시
i have three matrix each of size 1*100 how can i take it to a single matrix of 3*100
댓글 수: 0
채택된 답변
추가 답변 (1개)
Alex Fratila
2018년 7월 31일
Let's say your matrices are named a, b, and c. Then, you can concatenate them like this:
newMatrix = [a ; b ; c];
The semicolon stacks your matrices on top of each other (vertical concatenation). Here is a page with more info!
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!