what is function to find out adjoint of matrix............is there any command.......
8 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
manoj saini
il 29 Gen 2013
Risposto: Nelaturu Karthik
il 25 Lug 2021
what is command to find adjoint of matrix
0 Commenti
Risposta accettata
Shashank Prasanna
il 29 Gen 2013
I don't think there is a function but you can always do:
det(A)*inv(A)
4 Commenti
Più risposte (3)
asuescun
il 15 Nov 2017
Hi, you can't use "det(A)*inv(A)" with a singular matrix to get its adjoint.
0 Commenti
milad yusefi
il 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';
0 Commenti
Vedere anche
Categorie
Scopri di più su 2-D and 3-D Plots in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!