This content has been marked as final.
Show 3 replies

Re: LU Decomposition Method, Really Need Help ASAP
Philip.Oakley Mar 15, 2011 3:21 AM (in response to JoshMyers)Simply create you matrix M and apply the lu(M) function.
The manual gives details of the augmented matrix it returns, that is, it has the permutation P, L and U matrixes side by side in one big rectangular matrix.
The permutation matrix simply converts the original matrix M into an easier to solve (by the computer) matrix, for which the L and U are then provided.
In general, Mathcad is implicit (just use lu() ), rather than explicit (we don't write matlab code!)
It is possible to write a long(ish) programme function to do the pseudo code that may have been given in class, but usually we don't bother, given we have the function already ;)
Philip

Re: LU Decomposition Method, Really Need Help ASAP
lvl107 Dec 11, 2011 11:26 AM (in response to JoshMyers)
Example 2.mcd.zip 20.1 K

Example 2.PNG 82.7 K

Re: LU Decomposition Method, Really Need Help ASAP
lvl107 Dec 30, 2011 11:15 AM (in response to lvl107)A bit of editing the above.

Example 2.PNG 102.4 K

Example 2.mcd.zip 25.3 K

