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

Please do not let us guess, what you observe. What does "doesn't work" exactly mean?

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

질문:

2014년 5월 23일

댓글:

Jan
2014년 5월 23일

Community Treasure Hunt

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

Start Hunting!

Translated by