MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   资料存档 (https://www.labfans.com/bbs/forumdisplay.php?f=72)
-   -   MatLab中的[A,B]和[A; B]有什么区别? (https://www.labfans.com/bbs/showthread.php?t=23292)

poster 2019-12-10 20:30

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行为。



[B]回答:[/B]

[A,B] 是通过将B放在A的右边而形成的矩阵,而

[A;B] 是通过将B置于A下方而形成的矩阵。

还了解horzcat和vertcat 。



[url=https://stackoverflow.com/questions/2609355]更多&回答...[/url]


所有时间均为北京时间。现在的时间是 09:19

Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.