Modified Gram-Schmidt QR factorization for matrix inversion

3 views (last 30 days)
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 Comment
Jan
Jan on 23 May 2014
Please do not let us guess, what you observe. What does "doesn't work" exactly mean?

Sign in to comment.

Answers (0)

Categories

Find more on Matrix Decomposition 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!