2017-02-27 190 views

回答

1

A是3维矩阵。在该陈述中,您正在阅读该矩阵中的一系列单元格。在Matlab中:b表示从a到b,冒号(:)表示“一切”。

Lets say that xxx=5, yyy=10 and w=2. Then in your case you are reading: 
1st dimension (rows) : from 5 to 6 (6 = 5 + 2 - 1) 
2nd dimension (columns) : from 10 to 11 (11 = 10 + 2 - 1) 
3rd dimension (pages) : all of the pages. 
+0

这里是一个[教程](https://www.math.utah.edu/~eyre/computing/matlab-intro/matrices.html),其可以对你有用。另外,请点击非常好的图标将此问题标记为已回答 – ganninu93