The method we learned in class for LU decomp appears to only be valid for square matrices. ([A|I] -> [U|L^-1] -> [L^-1|I] -> [I|L]). Of course, the online homework is asking for LU decomp. of non-square matrices, and I can't sort them out for the life of me. I've tried the only other method I could find (using an LU factorization algorithm), but I'm either doing it wrong or it doesn't work. I'm dying here. I've got 2 hours to sort this out, so any help is really appreciated.

PS - sorry about the cutoff, it's just a note about matlab using a different format than they'll accept for accuracy.