%% Estimate 2-Norm and Return Number of Power Iterations
% Create a 7-by-7 matrix.

S = gallery('clement',7,7)

% Estimate the 2-norm of the matrix and return the number of power iterations used in the computation.

[n,count] = normest(S)

%
% Copyright 2020 The MathWorks, Inc.