Adjugate (adjoint) of a Square Matrix
No License
For any n x n matrix, A, with real or complex-valued elements, whether singular or not, its adjugate (also known as its adjoint) matrix, adj(A), is calculated. The svd function is called on to find [u,s,v] = svd(A), and the identity adj(A) = det(u*v')*v*adj(s)*u', which holds even if A is singular, is computed. Tests have shown that the accuracy remains good even up to values of n as large as 32 provided adj(A) does not overflow or underflow matlab's double precision capacity. The definition of the adjugate (adjoint) of matrix A is a matrix in which its element in the i-th row and j-th column is the cofactor of the element of A in the j-th row and i-th column.
Cite As
Roger Stafford (2025). Adjugate (adjoint) of a Square Matrix (https://www.mathworks.com/matlabcentral/fileexchange/12692-adjugate-adjoint-of-a-square-matrix), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |