This preview shows page 1. Sign up to view the full content.
Unformatted text preview: [L,U,P]=lu(A) It takes as input A and returns L , U and the permutation matrix P such that LU = PA . Once you have these matrices, to solve a system A x = b , you can use the following commands b=P*b y=L\b x=U\y Use the LU factorization to analyze the pump in 9.14 with the following values for Q 1 : Q 1 = 1, 5, 15, 20, 25. Note you only need to compute the LU factorization once . Hand in all matlab mles, diaries, and scripts....
View
Full
Document
This note was uploaded on 09/18/2011 for the course ASE 211 taught by Professor N/a during the Spring '08 term at University of Texas at Austin.
 Spring '08
 N/A

Click to edit the document details