Inverse of individual matrix element (complex variables)

26 ビュー (過去 30 日間)
Abbey
Abbey 2017 年 2 月 26 日
コメント済み: Birinder Kahlon 2020 年 11 月 17 日
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.

採用された回答

Steven Lord
Steven Lord 2017 年 2 月 26 日
Perform elementwise division.
A = [.02+.04i .01+.03i; .02+.04i .01+.03i];
B = 1./A
  3 件のコメント
Muiz Vhora
Muiz Vhora 2018 年 11 月 4 日
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 2020 年 11 月 17 日
you're dividing by zero

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMultidimensional Arrays についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by