How to solve matrix raised to -1

2 views (last 30 days)
ssmith
ssmith on 16 Nov 2021
Edited: Fangjun Jiang on 16 Nov 2021
I have a matrix A, and I am looking to find matrix A^(-1) but cannot seem to enter it into MATLAB in the correct format. Here is what I have:
A = [1, 2, 3; 4, 5, 6; 7, 8, 9]
X = Aexp(-1)

Accepted Answer

Fangjun Jiang
Fangjun Jiang on 16 Nov 2021
Edited: Fangjun Jiang on 16 Nov 2021
A^(-1)
inv(A)

More Answers (0)

Categories

Find more on Operating on Diagonal Matrices in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!