dsp.DigitalDownConverter
R2026bTranslate digital signal from intermediate frequency (IF) band to baseband and decimate it
Description
The dsp.DigitalDownConverter object translates digital signal from
intermediate frequency (IF) band to baseband and decimates it.
For a more flexible interface with tunable filter stages, user-defined filter cascades,
and support for Farrow rate converters, use dsp.DDC
instead.
To digitally downconvert the input signal:
Create the
dsp.DigitalDownConverterobject 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?
This object supports C/C++ code generation and SIMD code generation under certain conditions. For more information, see Code Generation.
Creation
Description
returns a
digital downconverter (DDC) System object™, dwnConv = dsp.DigitalDownConverterdwnConv.
sets properties using one or more name-value arguments. For example, to specify a
decimation factor of 50, set dwnConv = dsp.DigitalDownConverter(PropertyName=Value)DecimationFactor to 50.
Properties
Usage
Description
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
More About
Algorithms
The digital downconverter downconverts the input signal by multiplying it with a complex exponential that has the specified center frequency. The algorithm downsamples the frequency downconverted signal using a cascade of three decimation filters. In this case, the filter cascade consists of a CIC decimator, a CIC compensator, and a third FIR decimation stage. The following block diagram shows the architecture of the digital downconverter.

The scaling section normalizes the CIC gain and the oscillator power. It can also contain a correction factor to achieve the desired ripple specification. When you specify an oscillator signal through the input port, the normalization factor does not include the oscillator power factor. Depending on how you set the decimation factor, the block bypasses the third filter stage. When the input data type is double or single, the algorithm implements an N-section CIC decimation filter as an FIR filter with a response that corresponds to a cascade of N boxcar filters. The algorithm emulates a CIC filter with an FIR filter so that you can run simulations with floating-point data. When the input data type is fixed-point, the algorithm implements a true CIC filter with actual comb and integrator sections.
This block diagram represents the DDC arithmetic with single or double-precision, floating-point inputs.

For details about fixed-point operation, see Fixed Point.





