Halfband interpolator
The dsp.FIRHalfbandInterpolator
System object™ performs efficient polyphase interpolation of the input signal using an
upsampling factor of two. You can use dsp.FIRHalfbandInterpolator
to
implement the synthesis portion of a two-band filter bank to synthesize a signal from
lowpass and highpass subbands. dsp.FIRHalfbandInterpolator
uses an FIR
equiripple design to construct the halfband filters and a polyphase implementation to
filter the input.
To upsample and interpolate your data:
Create the dsp.FIRHalfbandInterpolator
object and set its properties.
Call the object with arguments, as if it were a function.
To learn more about how System objects work, see What Are System Objects?.
returns a FIR halfband interpolation filter,
firhalfbandinterp
= dsp.FIRHalfbandInterpolatorfirhalfbandinterp
, with the default settings. Under the
default settings, the System object upsamples and interpolates the input data using a halfband
frequency of 11025
Hz, a transition width of
4.1
kHz, and a stopband attenuation of
80
dB.
returns a halfband interpolator, with additional properties specified by one or
more firhalfbandinterp
= dsp.FIRHalfbandInterpolator(Name,Value
)Name,Value
pair arguments.
firhalfbandinterp =
dsp.FIRHalfbandInterpolator('Specification','Filter order and stopband
attenuation')
creates an FIR halfband interpolator object with
filter order set to 52 and stopband attenuation set to 80 dB.
implements a halfband synthesis filter bank for the inputs
y
= firhalfbandinterp(x1
,x2
)x1
and x2
. x1
is the lowpass output of a halfband analysis filter bank and
x2
is the highpass output of a halfband analysis filter
bank. dsp.FIRHalfbandInterpolator
implements a synthesis filter
bank only when the 'FilterBankInputPort'
property is set to
true
.
To use an object function, specify the
System object as the first input argument. For
example, to release system resources of a System object named obj
, use
this syntax:
release(obj)
[1] Harris, F.J. Multirate Signal Processing for Communication Systems, Prentice Hall, 2004, pp. 208–209.
dsp.ChannelSynthesizer
| dsp.DyadicSynthesisFilterBank
| dsp.FIRHalfbandDecimator
| dsp.IIRHalfbandInterpolator