Note: This page has been translated by MathWorks. Please click here

To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Halfband interpolator

`dsp.FIRHalfbandInterpolator`

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. This object supports fixed-point
operations and ARM Cortex code generation.

To upsample and interpolate your data:

Define and set up your halfband interpolator. See Construction.

Call

`step`

to filter the input signal according to the properties of`dsp.FIRHalfbandInterpolator`

. The input signal can be a real- or complex-valued column vector or matrix. If the input signal is a matrix, each column of the matrix is treated as an independent channel.

Starting in R2016b, instead of using the `step`

method
to perform the operation defined by the System
object™, you can
call the object with arguments, as if it were a function. For example, ```
y
= step(obj,x)
```

and `y = obj(x)`

perform
equivalent operations.

`firhalfbandinterp = dsp.FIRHalfbandInterpolator`

returns
a FIR halfband interpolation filter, `firhalfbandinterp`

,
with the default settings. Calling `step`

with the
default property settings 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. `Name`

is
the property name and `Value`

is the corresponding
value. `Name`

must appear inside single quotes
(' '). You can specify several name-value pair arguments in any order
as `Name1,Value1,...,NameN,ValueN`

.

reset | Reset internal states of FIR halfband interpolator |

step | Filter input with FIR halfband interpolator |

For additional methods, see Analysis Methods for Filter System Objects.

For a complete list of analysis methods supported for the `dsp.FIRHalfbandInterpolator`

object,
enter `dsp.FIRHalfbandInterpolator.helpFilterAnalysis`

at
the MATLAB^{®} command prompt.

Common to All System Objects | |
---|---|

`clone` | Create System object with same property values |

`getNumInputs` | Expected number of inputs to a System object |

`getNumOutputs` | Expected number of outputs of a System object |

`isLocked` | Check locked states of a System object (logical) |

`release` | Allow System object property value changes |

[1] Harris, F.J. *Multirate Signal
Processing for Communication Systems*, Prentice Hall, 2004,
pp. 208–209.

`dsp.ChannelSynthesizer`

|`dsp.DyadicSynthesisFilterBank`

|`dsp.FIRHalfbandDecimator`

|`dsp.IIRHalfbandInterpolator`

Was this topic helpful?