% Example 3.17
% Norm and condition number of a matrix A
% K. Ming Leung, 04/26/03

A = [2 -1 1
1 0 1
3 -1 4 ];
[U, S, V] = svd(A),
normA = S(1,1), norm(A),
condA = normA / S(3,3), cond(A),