필터 지우기
필터 지우기

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

조회 수: 25 (최근 30일)
what is command to find adjoint of matrix

채택된 답변

Shashank Prasanna
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
asuescun 2017년 11월 15일
Hi, you can't use "det(A)*inv(A)" with a singular matrix to get its adjoint.

milad yusefi
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';

Nelaturu Karthik
Nelaturu Karthik 2021년 7월 25일
A=1 2 3,4 5 6

태그

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by