take three matrices into a single matrix
2 次查看(过去 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!