% Example 3 for section 7.4: SVD
A = [4 11 14; 8 7 -2]
[W,S,U] = svd(A)
W * S * U'
% Example 4
A = [1 -1; -2 2; 2 -2]
[W,S,U] = svd(A)
W * S * U'