Matlab[inv] - compute the inverse of a MapleMatrix or MatlabMatrix in MATLAB(R)
|
Parameters
|
|
X
|
-
|
MapleMatrix or MatlabMatrix
|
|
|
|
|
Description
|
|
•
|
The inv command computes the inverse of a square matrix using MATLAB.
|
•
|
Executing the inv command returns a Matrix or a constant.
|
|
|
Examples
|
|
Define the Maple matrix
>
|
|
>
|
|
| (1) |
The inverse of this MapleMatrix is computed as
>
|
|
[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.
>
|
|
>
|
|
[0.212499999999999966 , 0.0250000000000000360 , -0.150000000000000022]
|
[ ]
|
[-0.224999999999999977 , 0.149999999999999966 , 0.100000000000000032]
|
[ ]
|
[0.312500000000000000 , -0.374999999999999944 , 0.249999999999999944]
|
|
|
|
|
Download Help Document
Was this information helpful?