take three matrices into a single matrix
9 ビュー (過去 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!