Documentation

DSP System Toolbox System Objects

DSP Modeling

Signal Operations

dsp.Convolver Convolution of two inputs
dsp.DCBlocker Remove DC component
dsp.Delay Delay input by specified number of samples or frames
dsp.DigitalDownConverter Translate digital signal from Intermediate Frequency (IF) band to baseband and decimate it
dsp.DigitalUpConverter Interpolate digital signal and translate it from baseband to Intermediate Frequency (IF) band
dsp.HDLNCO Generate real or complex sinusoidal signals—optimized for HDL code generation
dsp.Interpolator Linear or FIR interpolation
dsp.NCO Generate real or complex sinusoidal signals
dsp.PeakFinder Determine extrema (maxima or minima) in input signal
dsp.PhaseExtractor Extract the unwrapped phase of a complex input
dsp.PhaseUnwrapper Unwrap signal phase
dsp.VariableFractionalDelay Delay input by time-varying fractional number of sample periods
dsp.VariableIntegerDelay Delay input by time-varying integer number of sample periods
dsp.Window Window object
dsp.ZeroCrossingDetector Zero crossing detector

Signal Generation

dsp.ColoredNoise Colored noise generator
dsp.Chirp Generate swept-frequency cosine (chirp) signal
dsp.SignalSource Import variable from workspace
dsp.SineWave Discrete-time sinusoid

Signal Import and Export

dsp.AudioFileReader Read audio samples from audio file
dsp.AudioFileWriter Write audio samples to audio file
dsp.AudioPlayer Play audio data using computer's audio device
dsp.AudioRecorder Record audio data using computer's audio device
dsp.MatFileReader Read MAT file
dsp.MatFileWriter Write MAT file
dsp.UDPReceiver Receive UDP packets from network
dsp.UDPSender Send UDP packets to network

Scopes and Data Logging

dsp.TimeScope Time domain signal display
dsp.SpectrumAnalyzer Display frequency spectrum of time-domain signals
dsp.ArrayPlot Display vectors or arrays
dsp.LogicAnalyzer Display transitions of signals over time
dsp.SignalSink Log simulation data in buffer

Buffers, Switches, and Counters

dsp.Buffer Buffer input signal
dsp.Counter Count up or down through specified range of numbers
dsp.DelayLine Rebuffer sequence of inputs with one-sample shift

Filter Implementation

Single-Rate Filters

dsp.AllpassFilter Single section or cascaded allpass filter
dsp.AllpoleFilter IIR Filter with no zeros
dsp.BiquadFilter IIR filter using biquadratic structures
dsp.CoupledAllpassFilter Coupled allpass IIR filter
dsp.Delay Delay input by specified number of samples or frames
dsp.FIRFilter Static or time-varying FIR filter
dsp.HighpassFilter FIR or IIR highpass filter
dsp.IIRFilter Infinite Impulse Response (IIR) filter
dsp.LowpassFilter FIR or IIR lowpass filter
dsp.ParametricEQFilter Tunable second-order parametric equalizer filter
dsp.NotchPeakFilter Second-order tunable notching and peaking IIR filter
dsp.VariableBandwidthFIRFilter Variable bandwidth FIR filter
dsp.VariableBandwidthIIRFilter Variable bandwidth IIR filter
dsp.VariableFractionalDelay Delay input by time-varying fractional number of sample periods

Multirate and Multistage Filters

dsp.CICCompensationDecimator Compensate for CIC decimation filter using FIR decimator
dsp.CICCompensationInterpolator Compensate for CIC interpolation filter using FIR interpolator
dsp.CICDecimator Decimate input using Cascaded Integrator-Comb filter
dsp.CICInterpolator Interpolate signal using Cascaded Integrator-Comb filter
dsp.DigitalDownConverter Translate digital signal from Intermediate Frequency (IF) band to baseband and decimate it
dsp.DigitalUpConverter Interpolate digital signal and translate it from baseband to Intermediate Frequency (IF) band
dsp.DyadicAnalysisFilterBank Dyadic analysis filter bank
dsp.DyadicSynthesisFilterBank Reconstruct signals from subbands
dsp.FarrowRateConverter Polynomial sample rate converter with arbitrary conversion factor
dsp.FilterCascade Construct a cascade of filter System objects
dsp.FIRDecimator Polyphase FIR decimator
dsp.FIRHalfbandDecimator Halfband decimator
dsp.FIRHalfbandInterpolator Halfband interpolator
dsp.FIRInterpolator Polyphase FIR interpolator
dsp.FIRRateConverter Sample rate converter
dsp.SampleRateConverter Multistage sample rate converter
dsp.SubbandAnalysisFilter Decompose signal into high-frequency and low-frequency subbands
dsp.SubbandSynthesisFilter Reconstruct signal from high-frequency and low-frequency subbands

Adaptive Filters

dsp.BlockLMSFilter Compute output, error, and weights using Block LMS adaptive algorithm
dsp.LMSFilter LMS adaptive filter
dsp.RLSFilter Compute output, error and coefficients using Recursive Least Squares (RLS) algorithm
dsp.AffineProjectionFilter Compute output, error and coefficients using Affine Projection (AP) Algorithm
dsp.AdaptiveLatticeFilter Adaptive lattice filter
dsp.FastTransversalFilter Fast Transversal filter
dsp.FilteredXLMSFilter Filtered XLMS filter
dsp.FrequencyDomainAdaptiveFilter Frequency Domain Adaptive filter
dsp.KalmanFilter Estimate system measurements and states using Kalman filter

Transforms and Spectral Analysis

Transforms

dsp.AnalyticSignal Analytic signals of discrete-time inputs
dsp.DCT Discrete cosine transform (DCT)
dsp.FFT Discrete Fourier transform
dsp.HDLIFFT Inverse fast Fourier transform—optimized for HDL code generation
dsp.HDLFFT Fast Fourier transform—optimized for HDL code generation
dsp.IDCT Inverse discrete cosine transform (IDCT)
dsp.IFFT Inverse discrete Fourier transform (IDFFT)

Linear Prediction

dsp.CepstralToLPC Convert cepstral coefficients to linear prediction coefficients
dsp.LevinsonSolver Solve linear system of equations using Levinson-Durbin recursion
dsp.LPCToAutocorrelation Convert linear prediction coefficients to autocorrelation coefficients
dsp.LPCToCepstral Convert linear prediction coefficients to cepstral coefficients
dsp.LPCToLSF Convert linear prediction coefficients to line spectral frequencies
dsp.LPCToLSP Convert linear prediction coefficients to line spectral pairs
dsp.LPCToRC Convert linear prediction coefficients to reflection coefficients
dsp.LSFToLPC Convert line spectral frequencies to linear prediction coefficients
dsp.LSPToLPC Convert line spectral pairs to linear prediction coefficients
dsp.RCToAutocorrelation Convert reflection coefficients to autocorrelation coefficients
dsp.RCToLPC Convert reflection coefficients to linear prediction coefficients

Spectral Analysis

dsp.BurgAREstimator Estimate of autoregressive (AR) model parameters using Burg method
dsp.BurgSpectrumEstimator Parametric spectral estimate using Burg method
dsp.SpectrumAnalyzer Display frequency spectrum of time-domain signals
dsp.SpectrumEstimator Estimate power spectrum
dsp.CrossSpectrumEstimator Estimate cross-spectral density
dsp.TransferFunctionEstimator Estimate transfer function

Speech and Audio Processing

Audio I/O

dsp.AudioFileReader Read audio samples from audio file
dsp.AudioFileWriter Write audio samples to audio file
dsp.AudioPlayer Play audio data using computer's audio device
dsp.AudioRecorder Record audio data using computer's audio device

Linear Prediction and AR Estimation

dsp.LevinsonSolver Solve linear system of equations using Levinson-Durbin recursion
dsp.LPCToAutocorrelation Convert linear prediction coefficients to autocorrelation coefficients
dsp.LPCToLSF Convert linear prediction coefficients to line spectral frequencies
dsp.LPCToLSP Convert linear prediction coefficients to line spectral pairs
dsp.LPCToRC Convert linear prediction coefficients to reflection coefficients
dsp.LSFToLPC Convert line spectral frequencies to linear prediction coefficients
dsp.LSPToLPC Convert line spectral pairs to linear prediction coefficients
dsp.RCToAutocorrelation Convert reflection coefficients to autocorrelation coefficients
dsp.RCToLPC Convert reflection coefficients to linear prediction coefficients
dsp.CepstralToLPC Convert cepstral coefficients to linear prediction coefficients
dsp.LPCToCepstral Convert linear prediction coefficients to cepstral coefficients
dsp.BurgAREstimator Estimate of autoregressive (AR) model parameters using Burg method
dsp.BurgSpectrumEstimator Parametric spectral estimate using Burg method

Cepstral Analysis

dsp.CepstralToLPC Convert cepstral coefficients to linear prediction coefficients
dsp.LPCToCepstral Convert linear prediction coefficients to cepstral coefficients

Quantizers

dsp.ScalarQuantizerDecoder Convert each index value into quantized output value
dsp.ScalarQuantizerEncoder Associate input value with index value of quantization region
dsp.UniformDecoder Decode integer input into floating-point output
dsp.UniformEncoder Quantize and encode floating-point input into integer output
dsp.VectorQuantizerDecoder Vector quantizer codeword for given index value
dsp.VectorQuantizerEncoder Vector quantization encoding

Statistics and Linear Algebra

Measurements and Statistics

dsp.Autocorrelator Autocorrelation sequence
dsp.Crosscorrelator Cross-correlation of two inputs
dsp.Histogram Histogram of input or sequence of inputs
dsp.Maximum Find maximum value of input or sequence of inputs
dsp.Mean Find mean value of input or sequence of inputs
dsp.Median Median value of input
dsp.Minimum Find minimum values of input or sequence of inputs
dsp.PeakToPeak Peak-to-peak value
dsp.PeakToRMS Peak-to-root-mean-square value of vector
dsp.PulseMetrics Pulse metrics of bilevel waveforms
dsp.RMS Root mean square of vector elements
dsp.StandardDeviation Standard deviation of input or sequence of inputs
dsp.StateLevels State-level estimation for bilevel rectangular waveform
dsp.TransitionMetrics Transition metrics of bilevel waveforms
dsp.Variance Variance of input or sequence of inputs

Array and Matrix Mathematics

dsp.ArrayVectorAdder Add array to vector along specified dimension
dsp.ArrayVectorDivider Divide array by vector along specified dimension
dsp.ArrayVectorMultiplier Multiply array by vector along specified dimension
dsp.ArrayVectorSubtractor Subtract vector from array along specified dimension
dsp.CumulativeProduct Cumulative product of channel, column, or row elements
dsp.CumulativeSum Cumulative sum of channel, column, or row elements
dsp.Normalizer Vector normalization along specified dimension
dsp.HDLComplexToMagnitudeAngle Compute magnitude and phase angle of complex signal—optimized for HDL code generation

Linear Algebra

dsp.LDLFactor Factor square Hermitian positive definite matrices into components
dsp.LevinsonSolver Solve linear system of equations using Levinson-Durbin recursion
dsp.LowerTriangularSolver Solve lower-triangular matrix equation
dsp.LUFactor Factor square matrix into lower and upper triangular matrices
dsp.UpperTriangularSolver Solve upper-triangular matrix equation

Fixed-Point Design

Fixed-Point Filters

dsp.AllpoleFilter IIR Filter with no zeros
dsp.BiquadFilter IIR filter using biquadratic structures
dsp.CICCompensationDecimator Compensate for CIC decimation filter using FIR decimator
dsp.CICCompensationInterpolator Compensate for CIC interpolation filter using FIR interpolator
dsp.CICDecimator Decimate input using Cascaded Integrator-Comb filter
dsp.CICInterpolator Interpolate signal using Cascaded Integrator-Comb filter
dsp.DigitalFilter Static or time-varying digital filter
dsp.FIRDecimator Polyphase FIR decimator
dsp.FIRFilter Static or time-varying FIR filter
dsp.FIRInterpolator Polyphase FIR interpolator
dsp.FIRRateConverter Sample rate converter
dsp.IIRFilter Infinite Impulse Response (IIR) filter
dsp.LMSFilter LMS adaptive filter
dsp.SubbandAnalysisFilter Decompose signal into high-frequency and low-frequency subbands
dsp.SubbandSynthesisFilter Reconstruct signal from high-frequency and low-frequency subbands
Was this topic helpful?