MATLAB Answers

Higher Order (6X6) Matrix Inverse with Variables

22 views (last 30 days)
Hi,
I want to obtained Inverse of higher order (6X6) matrix via matlab
Matrix Like This
Is it possible to obtained inverse of this matrix from Matlab?

Accepted Answer

Ameer Hamza
Ameer Hamza on 25 Nov 2020
You need symbolic toolbox for that. For example
A = randi(10, 6);
syms S
H = S.*eye(6)-A;
H_inv = inv(H)

More Answers (0)

Community Treasure Hunt

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

Start Hunting!