{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

# Medical ImagingAddendum - BME 210 Spring 2009 Medical...

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

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).

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

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### 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
Ask a homework question - tutors are online