P-norm of filter
l = norm(hd)
l = norm(hd,pnorm)
All of the variants of
norm return the filter
p-norm for the object in the syntax, a digital filter. When you omit
the L2-norm for the object.
Note that by Parseval's theorem, the L2-norm of a filter is equal to the l2 norm. This equality is not true for the other norm variants.
l = norm(hd) returns the
L2-norm of a discrete-time filter.
l = norm(hd,pnorm) includes
pnorm that lets you specify the
pnorm can be either
Frequency-domain norms specified by one of
Discrete-time domain norms specified by one of
By Parseval's theorem, the L2-norm of a filter is equal to the l2 norm. This equality is not true for the other norm variants.
IIR filters respond slightly differently to
When you compute the l2, linf, L1, and L2 norms for an IIR filter,
you specify the tolerance for the accuracy in the computation. For
l1, l2, L2, and linf,
norm uses the tolerance to
truncate the infinite impulse response that it uses to calculate the
norm. For L1,
norm passes the tolerance to the
numerical integration algorithm. Refer to Examples to
see this in use. You cannot specify
Linf for the
norm and include the
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)
filternorm = 0.6336