4.0

4.0 | 3 ratings Rate this file 43 Downloads (last 30 days) File Size: 832 Bytes File ID: #12692

Adjugate (adjoint) of a Square Matrix

by Roger Stafford

 

18 Oct 2006 (Updated 18 Oct 2006)

Calculates the adjugate (adjoint) matrix for a square matrix.

| Watch this File

File Information
Description

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.

MATLAB release MATLAB 5.2 (R10)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (6)
08 Nov 2006 A. Z.

I think you might want to revise the 'adjugate (a.k.a. adjoint)' statements in both the code & its description here. The adjoint of the matrix has *nothing* to do with its adjugate, in general! You're confusing the two notions.

12 Nov 2006 syam gupta

good...if uhave code for svd also....plz send it

30 Jan 2011 kris gopal

i am not able to run the function due to the error
i donot y it not calling the function size

Error in ==> adjugate at 14
[m,n] = size(A);

hope somone will reply soon

30 Jan 2011 kris gopal

i am not able to run the function due to the error
i donot y it not calling the function size

Error in ==> adjugate at 14
[m,n] = size(A);
& i am using Matlab 7.10

hope somone will reply soon

07 Nov 2011 Joel

Algebraic question: Why the use of the factor det(u*v') in the documentation? Isn't this factor ALWAYS = 1?

12 Jan 2012 Michael Hubatka

@Joel: det(u*v') can also be -1.

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
linear algebra Roger Stafford 22 Oct 2008 08:44:23
adjugate Roger Stafford 22 Oct 2008 08:44:23
adjoint Roger Stafford 22 Oct 2008 08:44:23
matrix Roger Stafford 22 Oct 2008 08:44:23
singular Roger Stafford 22 Oct 2008 08:44:23
svd Roger Stafford 22 Oct 2008 08:44:23
cofactors Roger Stafford 22 Oct 2008 08:44:23
adjoint Araceli Q.D. 22 Oct 2011 15:15:59
adjugate Araceli Q.D. 22 Oct 2011 15:16:03
cofactors Araceli Q.D. 22 Oct 2011 15:16:05

Contact us at files@mathworks.com