主题
:
MatLab中的[A,B]和[A; B]有什么区别?
查看单个帖子
2019-12-10, 20:30
#
1
poster
高级会员
注册日期: 2019-11-21
帖子: 3,006
声望力:
66
MatLab中的[A,B]和[A; B]有什么区别?
% CAT(2,A,B) is the same as [A,B]. % CAT(1,A,B) is the same as [A;B]. 似乎我需要知道这一点才能了解cat行为。
回答:
[A,B] 是通过将B放在A的右边而形成的矩阵,而
[A;B] 是通过将B置于A下方而形成的矩阵。
还了解horzcat和vertcat 。
更多&回答...
poster
查看公开信息
发送悄悄话给 poster
查找 poster 发表的更多帖子