【发布时间】:2015-07-13 15:24:27
【问题描述】:
什么是 Maple 等价于 Matlab 矩阵(1:N),那么我如何在 Maple 中获取矩阵元素?
【问题讨论】:
标签: matlab matrix indexing maple
什么是 Maple 等价于 Matlab 矩阵(1:N),那么我如何在 Maple 中获取矩阵元素?
【问题讨论】:
标签: matlab matrix indexing maple
M := LinearAlgebra:-RandomMatrix(4);
[-93 -32 8 44]
[ ]
[-76 -74 69 92]
M := [ ]
[-72 -4 99 -31]
[ ]
[ -2 27 29 67]
M[2..4,1..2];
[-76 -74]
[ ]
[-72 -4]
[ ]
[ -2 27]
M[2..3,..];
[-76 -74 69 92]
[ ]
[-72 -4 99 -31]
M[..,2..4];
[-32 8 44]
[ ]
[-74 69 92]
[ ]
[ -4 99 -31]
[ ]
[ 27 29 67]
有关更多信息,请参阅帮助主题 rtable_indexing。
【讨论】: