Medical ImagingAddendum

Medical ImagingAddendum - BME 210 Spring 2009 Medical...

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

View Full Document Right Arrow Icon
BME 210 Spring 2009 Medical Imaging 15 IV. MATLAB Solution A. Matrix Left Division MATLAB can also solve the following system of linear algebraic equations: A xb = (3) This equation could by solved for x by determining the inverse of the matrix A, for example via MATLAB’s inverse function ( inv(A) ). However, this is computationally inefficient and unnecessary as other methods exist for solving the equation without explicit calculation of the matrix inverse. One such method is Gaussian elimination. This is such a common approach that MATLB uses a short-hand operator called “left-division” to implement the built-in Gaussian elimination solution. Using matrix left division (“divide A into b ”), Eq. (3) can be solved as follows in MATLAB: x=A\b or x=mldivide(A,b) In using this command you must insure that the number of rows in A equals the number of rows in b (In fact A can have more rows than columns, but we will not discuss the approach used by MATLAB for this case).
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.

This note was uploaded on 04/12/2009 for the course BME 210 taught by Professor D'argenio during the Spring '07 term at USC.

Page1 / 2

Medical ImagingAddendum - BME 210 Spring 2009 Medical...

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