Invert Matrices

    Note:   Use only in the MuPAD Notebook Interface. This functionality does not run in MATLAB.

To find the inverse of a matrix, enter 1/A or A^(-1):

A := matrix([[a, b], [c, d]]):
B := matrix([[1, 2], [3, 4]]):
1/A; B^(-1)

When MuPAD® cannot compute the inverse of a matrix, it returns FAIL:

C := matrix([[1, 1], [1, 1]]): 1/C

Was this topic helpful?