Borrar filtros
Borrar filtros

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

4 visualizaciones (últimos 30 días)
what is command to find adjoint of matrix

Respuesta aceptada

Shashank Prasanna
Shashank Prasanna el 29 de En. de 2013
I don't think there is a function but you can always do:
det(A)*inv(A)
  4 comentarios

Iniciar sesión para comentar.

Más respuestas (3)

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

milad yusefi
milad yusefi el 20 de Nov. de 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
Nelaturu Karthik el 25 de Jul. de 2021
A=1 2 3,4 5 6

Categorías

Más información sobre 2-D and 3-D Plots en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by