Modified Gram-Schmidt QR factorization for matrix inversion

This Algorithm implements Modified Gram-Schmidt QR factorization. I wanted to use it to implement non-square matrix inversion. I've tested it and it works fine when m>=n. but when m<=n it doesn't. I compare the results with
(inv(transpose(A)*A)*transpose(A)).
is there something wrong with the algorithm? or am I doing something wrong?

1 comentario

Jan
Jan el 23 de Mayo de 2014
Please do not let us guess, what you observe. What does "doesn't work" exactly mean?

Iniciar sesión para comentar.

Respuestas (0)

Preguntada:

el 23 de Mayo de 2014

Comentada:

Jan
el 23 de Mayo de 2014

Community Treasure Hunt

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

Start Hunting!

Translated by