From: Marko Mijatovic on
I need to write a homework about the inverse matrix.
I wrote with other methods (ie the LU, LU with pivoting), just missing matlab code with QR factorization ... so if someone knows and is willing to help would be very grateful
From: John D'Errico on
"Marko Mijatovic" <telekineza(a)gmail.com> wrote in message <hhqsu7$sr1$1(a)fred.mathworks.com>...
> I need to write a homework about the inverse matrix.
> I wrote with other methods (ie the LU, LU with pivoting), just missing matlab code with QR factorization ... so if someone knows and is willing to help would be very grateful

But this is YOUR homework, not ours. Surely if
you can deal with the other cases, you can use
a qr factorization. Perhaps it is time to revisit
your notes and your textbook.
From: Matt J on
"Marko Mijatovic" <telekineza(a)gmail.com> wrote in message <hhqsu7$sr1$1(a)fred.mathworks.com>...
> I need to write a homework about the inverse matrix.
> I wrote with other methods (ie the LU, LU with pivoting), just missing matlab code with QR factorization ... so if someone knows and is willing to help would be very grateful


help qr?
From: Marko Mijatovic on
"John D'Errico" <woodchips(a)rochester.rr.com> wrote in message <hhrevm$2h7$1(a)fred.mathworks.com>...
> "Marko Mijatovic" <telekineza(a)gmail.com> wrote in message <hhqsu7$sr1$1(a)fred.mathworks.com>...
> > I need to write a homework about the inverse matrix.
> > I wrote with other methods (ie the LU, LU with pivoting), just missing matlab code with QR factorization ... so if someone knows and is willing to help would be very grateful
>
> But this is YOUR homework, not ours. Surely if
> you can deal with the other cases, you can use
> a qr factorization. Perhaps it is time to revisit
> your notes and your textbook.

If I knew how to solve it I would not ask. I reviewed my notebook, and I did not managed to find anything important. I know that is similar to LU factorization (ie, solving n systems), and there I stopped ... so I asked if someone knows to help .... and without stupid answers....
From: Matt J on
"Marko Mijatovic" <telekineza(a)gmail.com> wrote in message <hht1jo$1oh$1(a)fred.mathworks.com>...

> If I knew how to solve it I would not ask. I reviewed my notebook, and I did not managed to find anything important. I know that is similar to LU factorization (ie, solving n systems), and there I stopped ... so I asked if someone knows to help .... and without stupid answers....
==================

Once again, why does MATLAB's qr() function not do what you need?