Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

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.

DSP System Toolbox Blocks

Alphabetical List By Category

Signal Generation, Manipulation, and Analysis

Signal Operations

Downsample Resample input at lower rate by deleting samples
Digital Down-Converter Translate digital signal from Intermediate Frequency (IF) band to baseband and decimate it
Digital Up-Converter Interpolate digital signal and translate it from baseband to Intermediate Frequency (IF) band
Farrow Rate Converter Polynomial sample-rate converter with arbitrary conversion factor
Interpolation Interpolate values of real input samples
Repeat Resample input at higher rate by repeating values
Sample and Hold Sample and hold input signal
Sample-Rate Converter Multistage sample-rate conversion
Upsample Resample input at higher rate by inserting zeros
Convolution Convolution of two inputs
DC Blocker Block DC component
Detrend Remove linear trend from vectors
Offset Truncate vectors by removing or keeping beginning or ending values
Pad Pad or truncate specified dimension(s)
Peak Finder Determine whether each value of input signal is local minimum or maximum
Phase Extractor Extract the unwrapped phase of a complex input
Unwrap Unwrap signal phase
Window Function Compute and/or apply window to input signal
Zero Crossing Count number of times signal crosses zero in single time step
Variable Integer Delay Delay input by time-varying integer number of sample periods
Variable Fractional Delay Delay input by time-varying fractional number of sample periods

Signal Generation

Chirp Generate swept-frequency cosine (chirp) signal
Colored Noise Generate colored noise signal
Constant Generate constant value
Constant Ramp Generate ramp signal with length based on input dimensions
Discrete Impulse Generate discrete impulse
Identity Matrix Generate matrix with ones on main diagonal and zeros elsewhere
Multiphase Clock Generate multiple binary clock signals
N-Sample Enable Output ones or zeros for specified number of sample times
NCO Generate real or complex sinusoidal signals
NCO HDL Optimized Generate real or complex sinusoidal signals—optimized for HDL code generation
Random Source Generate randomly distributed values
Signal From Workspace Import signal from MATLAB workspace
Sine Wave Generate continuous or discrete sine wave
Triggered Signal From Workspace Import signal samples from MATLAB workspace when triggered

Signal Import and Export

Audio Device Writer Play to sound card
UDP Receive Receive uint8 vector as UDP message
UDP Send Send UDP message
Binary File Reader Read data from binary files
Binary File Writer Write data to binary files
From Multimedia File Stream from multimedia file
To Multimedia File Stream video frames and audio samples to multimedia file

Scopes and Data Logging

Array Plot Display vectors or arrays
Spectrum Analyzer Display frequency spectrum of time-domain signals
Time Scope Display time-domain signals
Vector Scope Display vector or matrix of time-domain, frequency-domain, or user-defined data
Matrix Viewer Display matrices as color images
Waterfall View vectors of data over time
To Workspace Write data to MATLAB workspace
Triggered To Workspace Write input sample to MATLAB workspace when triggered

Buffers, Switches, and Counters

Buffer Buffer input sequence to smaller or larger frame size
Delay Line Rebuffer sequence of inputs
Queue Store inputs in FIFO register
Stack Store inputs into LIFO register
Unbuffer Unbuffer input frame into sequence of scalar outputs
Counter Count up or down through specified range of numbers
Edge Detector Detect transition from zero to nonzero value
Event-Count Comparator Detect threshold crossing of accumulated nonzero inputs
Multiphase Clock Generate multiple binary clock signals
N-Sample Enable Output ones or zeros for specified number of sample times
N-Sample Switch Switch between two inputs after specified number of sample periods

Signal Attributes and Indexing

Check Signal Attributes Error when input signal does or does not match selected attributes exactly
Inherit Complexity Change complexity of input to match reference signal
Convert 1-D to 2-D Reshape 1-D or 2-D input to 2-D matrix with specified dimensions
Convert 2-D to 1-D Convert 2-D matrix input to 1-D vector
Data Type Conversion Convert input signal to specified data type
Frame Conversion Specify sampling mode of output signal
Flip Flip input vertically or horizontally
Multiport Selector Distribute arbitrary subsets of input rows or columns to multiple output ports
Overwrite Values Overwrite submatrix or subdiagonal of input
Selector Select input elements from vector, matrix, or multidimensional signal
Submatrix Select subset of elements (submatrix) from matrix input
Variable Selector Select subset of rows or columns from input

Filter Design and Analysis

Filter Design

Analog Filter Design Design and implement analog filters
Digital Filter Design Design and implement digital FIR and IIR filters
Filter Realization Wizard Construct filter realizations using digital filter blocks or Sum, Gain, and Delay blocks
Arbitrary Response Filter Design arbitrary response filter
Bandpass Filter Design bandpass filter
Bandstop Filter Design bandstop filter
Comb Filter Design comb Filter
Differentiator Filter Direct form FIR fullband differentiator filter
Highpass Filter Design FIR or IIR highpass filter
Hilbert Filter Design Hilbert filter
Inverse Sinc Filter Design inverse sinc filter
Lowpass Filter Design FIR or IIR lowpass filter
Median Filter Median filter
Notch-Peak Filter Design second-order tunable notching and peaking IIR filter
Variable Bandwidth FIR Filter Design tunable bandwidth FIR filter
Variable Bandwidth IIR Filter Design tunable bandwidth IIR filter
CIC Filter Design Cascaded Integrator-Comb (CIC) Filter
CIC Compensation Decimator Compensate for CIC filter using FIR decimator
CIC Compensation Interpolator Compensate for CIC filter using FIR interpolator
FIR Halfband Decimator Decimate signal using polyphase FIR halfband filter
FIR Halfband Interpolator Interpolate signal using polyphase FIR half band filter
IIR Halfband Decimator Decimate signal using polyphase IIR halfband filter
IIR Halfband Interpolator Interpolate signal using polyphase IIR halfband filter
Nyquist Filter Design Nyquist filter

Filter Implementation

Single-Rate Filters

Analytic Signal Compute analytic signals of discrete-time inputs
Differentiator Filter Direct form FIR fullband differentiator filter
Discrete Filter Model Infinite Impulse Response (IIR) filters
Discrete FIR Filter Model FIR filters
Highpass Filter Design FIR or IIR highpass filter
Lowpass Filter Design FIR or IIR lowpass filter
Median Filter Median filter
Overlap-Add FFT Filter Implement overlap-add method of frequency-domain filtering
Overlap-Save FFT Filter Implement overlap-save method of frequency-domain filtering
Variable Bandwidth FIR Filter Design tunable bandwidth FIR filter
Allpass Filter Single-section or multiple-section allpass filter
Allpole Filter Model allpole filters
Biquad Filter Model biquadratic IIR (SOS) filters
Notch-Peak Filter Design second-order tunable notching and peaking IIR filter
Variable Bandwidth IIR Filter Design tunable bandwidth IIR filter

Multirate and Multistage Filters

Farrow Rate Converter Polynomial sample-rate converter with arbitrary conversion factor
FIR Decimation Filter and downsample input signals
FIR Halfband Decimator Decimate signal using polyphase FIR halfband filter
FIR Halfband Interpolator Interpolate signal using polyphase FIR half band filter
FIR Interpolation Upsample and filter input signals
FIR Rate Conversion Upsample, filter, and downsample input signals
FIR Rate Conversion HDL Optimized Upsample, filter, and downsample input signals—optimized for HDL code generation
IIR Halfband Decimator Decimate signal using polyphase IIR halfband filter
IIR Halfband Interpolator Interpolate signal using polyphase IIR halfband filter
Digital Down-Converter Translate digital signal from Intermediate Frequency (IF) band to baseband and decimate it
Digital Up-Converter Interpolate digital signal and translate it from baseband to Intermediate Frequency (IF) band
Sample-Rate Converter Multistage sample-rate conversion
CIC Compensation Decimator Compensate for CIC filter using FIR decimator
CIC Compensation Interpolator Compensate for CIC filter using FIR interpolator
CIC Decimation Decimate signal using Cascaded Integrator-Comb filter
CIC Interpolation Interpolate signal using Cascaded Integrator-Comb filter
Dyadic Analysis Filter Bank Decompose signals into subbands with smaller bandwidths and slower sample rates or compute discrete wavelet transform (DWT)
Dyadic Synthesis Filter Bank Reconstruct signals from subbands with smaller bandwidths and slower sample rates or compute inverse discrete wavelet transform (IDWT)
Two-Channel Analysis Subband Filter Decompose signal into high-frequency and low-frequency subbands
Two-Channel Synthesis Subband Filter Reconstruct signal from high-frequency and low-frequency subbands

Adaptive Filters

Block LMS Filter Compute output, error, and weights using LMS adaptive algorithm
Fast Block LMS Filter Compute output, error, and weights using LMS adaptive algorithm
Kalman Filter Predict or estimate states of dynamic systems
LMS Filter Compute output, error, and weights using LMS adaptive algorithm
LMS Update Estimate weights of LMS adaptive filter
RLS Filter Compute filtered output, filter error, and filter weights for given input and desired signal using RLS adaptive filter algorithm

Transforms and Spectral Analysis

Transforms

Complex Cepstrum Compute complex cepstrum of input
FFT Fast Fourier transform (FFT) of input
IFFT Inverse fast Fourier transform (IFFT) of input
Inverse Short-Time FFT Recover time-domain signals by performing inverse short-time, fast Fourier transform (FFT)
Magnitude FFT Compute nonparametric estimate of spectrum using periodogram method
Real Cepstrum Compute real cepstrum of input
Short-Time FFT Nonparametric estimate of spectrum using short-time, fast Fourier transform (FFT) method
FFT HDL Optimized Fast Fourier transform—optimized for HDL code generation
IFFT HDL Optimized Inverse fast Fourier transform—optimized for HDL code generation
DCT Discrete cosine transform (DCT) of input
DWT Discrete wavelet transform (DWT) of input or decompose signals into subbands with smaller bandwidths and slower sample rates
IDCT Inverse discrete cosine transform (IDCT) of input
IDWT Inverse discrete wavelet transform (IDWT) of input or reconstruct signals from subbands with smaller bandwidths and slower sample rates

Linear Prediction

Autocorrelation LPC Determine coefficients of Nth-order forward linear predictors
Levinson-Durbin Solve linear system of equations using Levinson-Durbin recursion
LPC to LSF/LSP Conversion Convert linear prediction coefficients to line spectral pairs or line spectral frequencies
LPC to/from Cepstral Coefficients Convert linear prediction coefficients to cepstral coefficients or cepstral coefficients to linear prediction coefficients
LPC to/from RC Convert linear prediction coefficients to reflection coefficients or reflection coefficients to linear prediction coefficients
LPC/RC to Autocorrelation Convert linear prediction coefficients or reflection coefficients to autocorrelation coefficients
LSF/LSP to LPC Conversion Convert line spectral frequencies or line spectral pairs to linear prediction coefficients

Spectral Analysis

Burg Method Power spectral density estimate using Burg method
Covariance Method Power spectral density estimate using covariance method
Cross-Spectrum Estimator Estimate cross-power spectrum density
Discrete Transfer Function Estimator Compute estimate of frequency-domain transfer function of system
Magnitude FFT Compute nonparametric estimate of spectrum using periodogram method
Modified Covariance Method Power spectral density estimate using modified covariance method
Periodogram Power spectral density or mean-square spectrum estimate using periodogram method
Short-Time FFT Nonparametric estimate of spectrum using short-time, fast Fourier transform (FFT) method
Spectrum Analyzer Display frequency spectrum of time-domain signals
Spectrum Estimator Estimate power spectrum or power-density spectrum
Yule-Walker Method Power spectral density estimate using Yule-Walker method
Burg AR Estimator Compute estimate of autoregressive (AR) model parameters using Burg method
Covariance AR Estimator Compute estimate of autoregressive (AR) model parameters using covariance method
Modified Covariance AR Estimator Compute estimate of autoregressive (AR) model parameters using modified covariance method
Yule-Walker AR Estimator Compute estimate of autoregressive (AR) model parameters using Yule-Walker method

Statistics and Linear Algebra

Measurements and Statistics

Median Filter Median filter
Moving Average Moving average
Moving Maximum Moving maximum
Moving Minimum Moving minimum
Moving RMS Moving RMS
Moving Standard Deviation Moving standard deviation
Moving Variance Moving variance
Autocorrelation Autocorrelation of vector or matrix input
Correlation Cross-correlation of two inputs
Maximum Find maximum values in input or sequence of inputs
Mean Find mean value of input or sequence of inputs
Median Find median value of input
Minimum Find minimum values in input or sequence of inputs
RMS Compute root-mean-square value of input or sequence of inputs
Sort Sort input elements by value
Standard Deviation Find standard deviation of input or sequence of inputs
Variance Compute variance of input or sequence of inputs
Histogram Generate histogram of input or sequence of inputs

Array and Matrix Mathematics

Array-Vector Add Add vector to array along specified dimension
Array-Vector Divide Divide array by vector along specified dimension
Array-Vector Multiply Multiply array by vector along specified dimension
Array-Vector Subtract Subtract vector from array along specified dimension
Complex to Magnitude-Angle HDL Optimized Compute magnitude and/or phase angle of complex signal—optimized for HDL code generation using the CORDIC algorithm
Cumulative Product Cumulative product of channel, column, or row elements
Cumulative Sum Cumulative sum of channel, column, or row elements
dB Conversion Convert magnitude data to decibels (dB or dBm)
dB Gain Apply decibel gain
Difference Compute element-to-element difference along specified dimension of input
Normalization Perform vector normalization along rows, columns, or specified dimension
Create Diagonal Matrix Create square diagonal matrix from diagonal elements
Extract Diagonal Extract main diagonal of input matrix
Extract Triangular Matrix Extract lower or upper triangle from input matrices
Identity Matrix Generate matrix with ones on main diagonal and zeros elsewhere
Matrix 1-Norm Compute 1-norm of matrix
Matrix Concatenate Concatenate input signals of same data type to create contiguous output signal
Matrix Exponential Compute matrix exponential
Matrix Multiply Multiply or divide inputs
Matrix Product Multiply matrix elements along rows, columns, or entire input
Matrix Square Compute square of input matrix
Matrix Sum Sum matrix elements along rows, columns, or entire input
Overwrite Values Overwrite submatrix or subdiagonal of input
Permute Matrix Reorder matrix rows or columns
Reciprocal Condition Compute reciprocal condition of square matrix in 1-norm
Submatrix Select subset of elements (submatrix) from matrix input
Toeplitz Generate matrix with Toeplitz symmetry
Least Squares Polynomial Fit Compute polynomial coefficients that best fit input data in least-squares sense
Polynomial Evaluation Evaluate polynomial expression
Polynomial Stability Test Use Schur-Cohn algorithm to determine whether all roots of input polynomial are inside unit circle

Linear Algebra

Cholesky Factorization Factor square Hermitian positive definite matrix into triangular components
LDL Factorization Factor square Hermitian positive definite matrices into lower, upper, and diagonal components
LU Factorization Factor square matrix into lower and upper triangular components
QR Factorization Factor arbitrary matrix into unitary and upper triangular components
Singular Value Decomposition Factor matrix using singular value decomposition
Backward Substitution Solve UX=B for X when U is upper triangular matrix
Cholesky Solver Solve SX=B for X when S is square Hermitian positive definite matrix
Forward Substitution Solve LX=B for X when L is lower triangular matrix
LDL Solver Solve SX=B for X when S is square Hermitian positive definite matrix
Levinson-Durbin Solve linear system of equations using Levinson-Durbin recursion
LU Solver Solve AX=B for X when A is square matrix
QR Solver Find minimum-norm-residual solution to AX=B
SVD Solver Solve AX=B using singular value decomposition
Cholesky Inverse Compute inverse of Hermitian positive definite matrix using Cholesky factorization
LDL Inverse Compute inverse of Hermitian positive definite matrix using LDL factorization
LU Inverse Compute inverse of square matrix using LU factorization
Pseudoinverse Compute Moore-Penrose pseudoinverse of matrix

Fixed-Point Design

Fixed-Point Filters

Allpole Filter Model allpole filters
Biquad Filter Model biquadratic IIR (SOS) filters
Differentiator Filter Direct form FIR fullband differentiator filter
Discrete Filter Model Infinite Impulse Response (IIR) filters
Discrete FIR Filter Model FIR filters
Highpass Filter Design FIR or IIR highpass filter
Lowpass Filter Design FIR or IIR lowpass filter
CIC Compensation Decimator Compensate for CIC filter using FIR decimator
CIC Compensation Interpolator Compensate for CIC filter using FIR interpolator
CIC Decimation Decimate signal using Cascaded Integrator-Comb filter
CIC Interpolation Interpolate signal using Cascaded Integrator-Comb filter
Digital Down-Converter Translate digital signal from Intermediate Frequency (IF) band to baseband and decimate it
Digital Up-Converter Interpolate digital signal and translate it from baseband to Intermediate Frequency (IF) band
Farrow Rate Converter Polynomial sample-rate converter with arbitrary conversion factor
FIR Decimation Filter and downsample input signals
FIR Halfband Decimator Decimate signal using polyphase FIR halfband filter
FIR Halfband Interpolator Interpolate signal using polyphase FIR half band filter
FIR Interpolation Upsample and filter input signals
FIR Rate Conversion Upsample, filter, and downsample input signals
FIR Rate Conversion HDL Optimized Upsample, filter, and downsample input signals—optimized for HDL code generation
Two-Channel Analysis Subband Filter Decompose signal into high-frequency and low-frequency subbands
Two-Channel Analysis Subband Filter Decompose signal into high-frequency and low-frequency subbands
LMS Filter Compute output, error, and weights using LMS adaptive algorithm
Filter Realization Wizard Construct filter realizations using digital filter blocks or Sum, Gain, and Delay blocks

Quantizers

G711 Codec Quantize narrowband speech input signals
Quantizer Discretize input at specified interval
Scalar Quantizer Decoder Convert each index value into quantized output value
Scalar Quantizer Design Start Scalar Quantizer Design Tool (SQDTool) to design scalar quantizer using Lloyd algorithm
Scalar Quantizer Encoder Encode each input value by associating it with index value of quantization region
Uniform Decoder Decode integer input into floating-point output
Uniform Encoder Quantize and encode floating-point input into integer output
Vector Quantizer Decoder Find vector quantizer codeword that corresponds to given, zero-based index value
Vector Quantizer Design Design vector quantizer using Vector Quantizer Design Tool (VQDTool)
Vector Quantizer Encoder For given input, find index of nearest codeword based on Euclidean or weighted Euclidean distance measure
Was this topic helpful?