# what is function to find out adjoint of matrix............is there any command.......

31 views (last 30 days)
manoj saini on 29 Jan 2013
Answered: Nelaturu Karthik on 25 Jul 2021
what is command to find adjoint of matrix

Shashank Prasanna on 29 Jan 2013
I don't think there is a function but you can always do:
det(A)*inv(A)
adeel raza on 5 Nov 2016
thanks for your help

### More Answers (3)

asuescun on 15 Nov 2017
Hi, you can't use "det(A)*inv(A)" with a singular matrix to get its adjoint.

milad yusefi on 20 Nov 2017
you can also use this function function [b]=adj(a) s=size(a); ac=a; if s(1)~=s(2) disp('input matrix must be square') else for i=1:s(1) for j=1:s(2) a(i,:)=[]; a(:,j)=[]; c(i,j)=det(a); a=ac; end end end for i=1:s(1) for j=1:s(2) if mod(i+j,2)==1 c(i,j)=-c(i,j); end end end b=c';

Nelaturu Karthik on 25 Jul 2021
A=1 2 3,4 5 6

### Categories

Find more on Coordinate Transformations and Trajectories 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!