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

Risposte (1)

Matt J
Matt J il 25 Feb 2014

1 voto

Your choices of A may be singular?

1 Commento

John D'Errico
John D'Errico il 25 Feb 2014
Modificato: John D'Errico il 25 Feb 2014
Yeah. I wonder if the warnings about singular matrices may be a hint that the matrix is indeed singular? :)

Accedi per commentare.

Richiesto:

il 25 Feb 2014

Modificato:

il 25 Feb 2014

Community Treasure Hunt

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

Start Hunting!

Translated by