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

1 view (last 30 days)
Rafet
Rafet on 25 Feb 2014
Edited: John D'Errico on 25 Feb 2014
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

Answers (1)

Matt J
Matt J on 25 Feb 2014
Your choices of A may be singular?
  1 Comment
John D'Errico
John D'Errico on 25 Feb 2014
Edited: John D'Errico on 25 Feb 2014
Yeah. I wonder if the warnings about singular matrices may be a hint that the matrix is indeed singular? :)

Sign in to comment.

Categories

Find more on Loops and Conditional Statements in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!