www.gusucode.com > matlab 案例源码 matlab代码程序 > matlab/SingularValuesOfMatrixExample.m

    %% Singular Values of Matrix
% Compute the singular values of a full rank matrix.
A = [1 0 1; -1 -2 0; 0 1 -1]

%%
s = svd(A)