15.11.2014 Views

MATLAB Mathematics - SERC - Index of

MATLAB Mathematics - SERC - Index of

MATLAB Mathematics - SERC - Index of

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Singular Value Decomposition<br />

For the example matrix<br />

A =<br />

9 4<br />

6 8<br />

2 7<br />

the full singular value decomposition is<br />

[U,S,V] = svd(A)<br />

U =<br />

-0.6105 0.7174 0.3355<br />

-0.6646 -0.2336 -0.7098<br />

-0.4308 -0.6563 0.6194<br />

S =<br />

14.9359 0<br />

0 5.1883<br />

0 0<br />

V =<br />

-0.6925 0.7214<br />

-0.7214 -0.6925<br />

You can verify that U*S*V' is equal to A to within round<strong>of</strong>f error. For this small<br />

problem, the economy size decomposition is only slightly smaller:<br />

[U,S,V] = svd(A,0)<br />

U =<br />

-0.6105 0.7174<br />

-0.6646 -0.2336<br />

-0.4308 -0.6563<br />

S =<br />

14.9359 0<br />

0 5.1883<br />

V =<br />

-0.6925 0.7214<br />

-0.7214 -0.6925<br />

Again, U*S*V' is equal to A to within round<strong>of</strong>f error.<br />

1-43

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!