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

    %% 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)