Main Content

System objects in DSP System Toolbox that Support SIMD Code Generation

When certain conditions are met, you can generate SIMD code using Intel AVX2 technology from certain MATLAB® System objects in DSP System Toolbox™. For information on how to generate SIMD code from MATLAB algorithms, see Generate High Performance SIMD Code on Intel from MATLAB Algorithms in DSP System Toolbox.

The following table contains a list of System objects in DSP System Toolbox that support SIMD code generation. The table also details the conditions under which the support is available.

MATLAB System objectsConditions
dsp.AnalyticSignal
  • Input signal is real-valued.

  • Input signal has a data type of single or double.

dsp.ComplexBandpassDecimator
  • Input signal is complex-valued.

  • Input signal has a data type of single or double.

dsp.DCBlocker
  • Input signal has a data type of single or double.

dsp.Differentiator
  • Input signal has a data type of single or double.

dsp.DigitalDownConverter
  • Input signal has a data type of single or double.

dsp.DigitalUpConverter
  • Input signal has a data type of single or double.

dsp.FIRFilter
  • Filter structure is set to 'Direct form' or 'Direct form transposed'.

  • Input signal is real-valued with real filter coefficients.

  • When the filter structure is set to 'Direct form', the input signal can also be complex-valued with real or complex filter coefficients.

  • Input signal has a data type of single or double.

dsp.FIRDecimator
  • Filter structure is set to 'Direct form'.

  • Input signal is real-valued with real filter coefficients.

  • Input signal is complex-valued with real or complex filter coefficients.

  • Input signal has a data type of single or double.

dsp.FIRHalfbandInterpolator
  • Input signal has a data type of single or double.

dsp.FIRInterpolator
  • Input signal is real-valued with real filter coefficients.

  • Input signal is complex-valued with real or complex filter coefficients.

  • Input signal has a data type of single or double.

dsp.HighpassFilter
  • FilterType is set to 'FIR'.

  • Input signal has a data type of single or double.

dsp.LMSFilter
  • Method is set to 'LMS' or 'Normalized LMS'.

  • WeightsOutput is set to 'None' or 'Last'.

  • Input signal is real-valued.

  • Input signal has a data type of single or double.

dsp.LowpassFilter
  • FilterType is set to 'FIR'.

  • Input signal has a data type of single or double.

dsp.SampleRateConverter
  • For upsampling, the ratio of output sample rate to input sample rate must be an integer.

  • For downsampling, the ratio of input sample rate to output sample rate must be an integer.

  • Input signal has a data type of single or double.

dsp.VariableBandwidthFIRFilter
  • Input signal has a data type of single or double.

Related Topics