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

20 ビュー (過去 30 日間)
manoj saini
manoj saini 2013 年 1 月 29 日
回答済み: Nelaturu Karthik 2021 年 7 月 25 日
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 件のコメント
waheed
waheed 2014 年 9 月 17 日
thanks a lot
adeel raza
adeel raza 2016 年 11 月 5 日
thanks for your help

サインインしてコメントする。

その他の回答 (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

カテゴリ

Help Center および File Exchange2-D and 3-D Plots についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by