dsp.DDC
R2026bDescription
The dsp.DDC
System object™ mixes a digital input signal with an
oscillator and filters the result using a user-defined multirate filter cascade. Use this
object to translate a signal from an intermediate frequency (IF) band to baseband and
decimate it.
![Block diagram of dsp.DDC: input x[n] feeds into a mixer that multiplies with the oscillator, then passes through the filter to produce output y[m].](dsp_ddc_algorithm.png)
You specify the filter cascade directly or use the designDDC function to generate a
CIC-based filter design and populate the object.
Use filterAnalyzer to visualize the frequency response of the filter
cascade.
To digitally downconvert the input signal:
Create the
dsp.DDCobject 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?
Creation
Description
You can create a dsp.DDC
System object in one of these ways:
Use the
designDDCfunction, which automatically designs a CIC-based multirate filter cascade from decimation factors and sample rate specifications. For example:ddc = designDDC(DecimationFactors=[50 2],InputSampleRate=1e6)
Use the
dsp.DDCcreation function, described here.
creates a digital
downconverter System object with default property values.ddc = dsp.DDC
creates a digital downconverter with properties set using one or more name-value
arguments. For example, ddc = dsp.DDC(PropertyName=Value)dsp.DDC(Filter=dsp.FIRDecimator(10),InputSampleRate=1e6)
creates a DDC object with a FIR decimation filter and input sample rate of 1 MHz.
Properties
Usage
Syntax
Description
mixes the input signal y = ddc(x)x with the oscillator and filters the result
using the filter cascade specified in the Filter property. The object
multiplies the input by the conjugate of the complex exponential generated by the
oscillator, and then passes the mixed signal through the decimation filter.
Input Arguments
Output Arguments
Object Functions
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)
Examples
Algorithms
Version History
Introduced in R2026b


