%% Norm of an IIR Filter
% This example shows how to compute the L2 norm of an IIR filter. A tolerance of 1e-10 is used.

spec = fdesign.lowpass('n,fc',5,0.4);
filter = butter(spec);
filternorm = norm(filter,'l2',1e-10)

% Copyright 2012 The MathWorks, Inc.