Inverse of individual matrix element (complex variables)

18 visualizaciones (últimos 30 días)
Abbey
Abbey el 26 de Feb. de 2017
Comentada: Birinder Kahlon el 17 de Nov. de 2020
Hello,
Anyone please help, how can I invert each data of an NxN matrix with complex values. Say for example
A = [.02+.04i .01+.03i; .02+.04i .01+.03i]
into
B = [10-20i 10-30i; 10-20i 10-30i];
I tried A^-1 and 1/A but it yield a different answer. Looking forward for your help. Thank you.

Respuesta aceptada

Steven Lord
Steven Lord el 26 de Feb. de 2017
Perform elementwise division.
A = [.02+.04i .01+.03i; .02+.04i .01+.03i];
B = 1./A
  3 comentarios
Muiz Vhora
Muiz Vhora el 4 de Nov. de 2018
I tried doing this for a matrix with some zero values, I am getting INF in the inverse matrix. I have to use it for further calculations but INF does not look good.
Birinder Kahlon
Birinder Kahlon el 17 de Nov. de 2020
you're dividing by zero

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Multidimensional Arrays en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by