MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   资料存档 (https://www.labfans.com/bbs/forumdisplay.php?f=72)
-   -   MATLAB中{}和[]之间有什么区别? (https://www.labfans.com/bbs/showthread.php?t=23323)

poster 2019-12-10 20:30

MATLAB中{}和[]之间有什么区别?
 
>> A={1 2;2 3} A = [1] [2] [2] [3] >> A=[1 2;2 3] A = 1 2 2 3 在我看来,它们本质上是同一件事?



[B]回答:[/B]

{}是用于单元格的。 []用于数组/矩阵。



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


所有时间均为北京时间。现在的时间是 04:54

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