firpr2chfb
Two-channel FIR filter bank for perfect reconstruction
Syntax
[h0,h1,g0,g1] = firpr2chfb(n,fp)
[h0,h1,g0,g1] = firpr2chfb(n,dev,'dev')
[h0,h1,g0,g1] = firpr2chfb('minorder',fp,dev)
Description
[h0,h1,g0,g1] = firpr2chfb(n,fp)
designs four FIR filters for the analysis sections (h0
andh1
) and synthesis section is (g0
andg1
) of a two-channel perfect reconstruction filter bank. The design corresponds to the orthogonal filter banks also known as power-symmetric filter banks.
n
is the order of all four filters. It must be an odd integer.fp
is the passband-edge for the lowpass filtersh0
andg0
. The passband-edge argumentfp
must be less than 0.5.h1
andg1
are highpass filters with the passband-edge given by (1-fp
).
[h0,h1,g0,g1] = firpr2chfb(n,dev,'dev')
designs the four filters such that the maximum stopband ripple ofh0
is given by the scalardev
. Specifydev
在线性单元,而不是分贝。The stopband-ripple ofh1
is also be given bydev
, while the maximum stopband-ripple for bothg0
andg1
is (2*dev
).
[h0,h1,g0,g1] = firpr2chfb('minorder',fp,dev)
designs the four filters such thath0
meets the passband-edge specificationfp
and the stopband-rippledev
using minimum order filters to meet the specification.