lec03_09112006 - 10.34, Numerical Methods Applied to...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
10.34, Numerical Methods Applied to Chemical Engineering Professor William H. Green Lecture #3: Matrix Factorization. Modularization. ) ( 0 0 0 0 0 0 0 0 0 0 0 0 4 3 2 1 4 3 2 1 4 3 2 1 v x x x x v v v v x x x x v x v v v = + + + ⎛• = = U function x = backsub(U,v) N = length(v); % dimension of matrix for i = 1:(N-1) m = N+1-i; % backwards from bottom matrix x(m) = v(m)/U(m,m); % solve equation with one unknown v = v – x(m)*U(:,m); % move terms involving known x(m) to r.h.s. end
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 2

lec03_09112006 - 10.34, Numerical Methods Applied to...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online