Matlab
inv
compute the inverse of a MapleMatrix or MatlabMatrix in MATLAB(R)
Calling Sequence
Parameters
Description
Examples
inv(X)
X
-
MapleMatrix or MatlabMatrix
The inv command computes the inverse of a square matrix using MATLAB®.
Executing the inv command returns a Matrix or a constant.
Define the Maple matrix
with⁡Matlab:
maplematrix_a≔Matrix⁡6,4,2,7,8,1,3,7,3
maplematrix_a≔642781373
The inverse of this MapleMatrix is computed as
Matlabinv⁡maplematrix_a
[0.212499999999999966 , 0.0250000000000000360 , -0.150000000000000022]
[ ]
[-0.224999999999999977 , 0.149999999999999966 , 0.100000000000000032]
[0.312500000000000000 , -0.374999999999999944 , 0.249999999999999944]
Alternatively, the matrix is set in MATLAB® and inverted as a MatlabMatrix.
Matlabsetvar⁡matlabmatrix_a,maplematrix_a
Matlabinv⁡matlabmatrix_a
See Also
LinearAlgebra[MatrixInverse]
Matlab[evalM]
Matlab[getvar]
Matlab[setvar]
MatlabMatrix
Download Help Document