inverse matrix problem, why inv(A)*A~=I

hi everyone,
while solving a set of equations i can get a square matrix in various sizes, but whatever the matrix size is, i got singularity warnings.
i tried to get identity matrix with the following statements to provide consistency:
inv(A)*A and pinv(A)*A
but both of them gave a result of nonsense matrices
what may be the problem?
thanks in advance

回答 (1 件)

Matt J
Matt J 2014 年 2 月 25 日

1 投票

Your choices of A may be singular?

1 件のコメント

John D'Errico
John D'Errico 2014 年 2 月 25 日
編集済み: John D'Errico 2014 年 2 月 25 日
Yeah. I wonder if the warnings about singular matrices may be a hint that the matrix is indeed singular? :)

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

カテゴリ

質問済み:

2014 年 2 月 25 日

編集済み:

2014 年 2 月 25 日

Community Treasure Hunt

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

Start Hunting!

Translated by