what is function to find out adjoint of matrix............is there any command.......
17 次查看(过去 30 天)
显示 更早的评论
what is command to find adjoint of matrix
0 个评论
采纳的回答
Shashank Prasanna
2013-1-29
I don't think there is a function but you can always do:
det(A)*inv(A)
4 个评论
更多回答(3 个)
asuescun
2017-11-15
Hi, you can't use "det(A)*inv(A)" with a singular matrix to get its adjoint.
0 个评论
milad yusefi
2017-11-20
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';
0 个评论
另请参阅
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!