how can i concatenate matrices of diffrent data types and dimensions?
1 次查看(过去 30 天)
显示 更早的评论
concatenating matrices
1 个评论
the cyclist
2016-5-18
This isn't Twitter. Please describe what you are trying to do in some detail, to help us help you.
回答(2 个)
Todd Leonhardt
2016-5-18
These are arrays that can contain data of varying types and sizes.
If you have two matrices, say M1 and M2, you can combine them into a cell array like so:
C = {M1 M2}
or
C = {M1; M2}
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!