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

DownsampleResample input at lower rate by deleting samples
Digital Down-ConverterTranslate digital signal from Intermediate Frequency (IF) band to baseband and decimate it
Digital Up-ConverterInterpolate digital signal and translate it from baseband to Intermediate Frequency (IF) band
Farrow Rate ConverterPolynomial sample-rate converter with arbitrary conversion factor
InterpolationInterpolate values of real input samples
RepeatResample input at higher rate by repeating values
Sample and HoldSample and hold input signal
Sample-Rate ConverterMultistage sample-rate conversion
UpsampleResample input at higher rate by inserting zeros
ConvolutionConvolution of two inputs
DC BlockerBlock DC component
DetrendRemove linear trend from vectors
OffsetTruncate vectors by removing or keeping beginning or ending values
PadPad or truncate specified dimension(s)
Peak FinderDetermine whether each value of input signal is local minimum or maximum
Phase ExtractorExtract the unwrapped phase of a complex input
UnwrapUnwrap signal phase
Window FunctionCompute and/or apply window to input signal
Zero CrossingCount number of times signal crosses zero in single time step
Variable Integer DelayDelay input by time-varying integer number of sample periods
Variable Fractional DelayDelay input by time-varying fractional number of sample periods

Signal Generation

ChirpGenerate swept-frequency cosine (chirp) signal
Colored NoiseGenerate colored noise signal
ConstantGenerate constant value
Constant RampGenerate ramp signal with length based on input dimensions
Discrete ImpulseGenerate discrete impulse
Identity MatrixGenerate matrix with ones on main diagonal and zeros elsewhere
Multiphase ClockGenerate multiple binary clock signals
N-Sample EnableOutput ones or zeros for specified number of sample times
NCOGenerate real or complex sinusoidal signals
NCO HDL OptimizedGenerate real or complex sinusoidal signals—optimized for HDL code generation
Random SourceGenerate randomly distributed values
Signal From WorkspaceImport signal from MATLAB workspace
Sine WaveGenerate continuous or discrete sine wave
Triggered Signal From WorkspaceImport signal samples from MATLAB workspace when triggered

Signal Import and Export

Audio Device WriterPlay to sound card
UDP ReceiveReceive uint8 vector as UDP message
UDP SendSend UDP message
Binary File ReaderRead data from binary files
Binary File WriterWrite data to binary files
From Multimedia FileStream from multimedia file
To Multimedia FileStream video frames and audio samples to multimedia file

Scopes and Data Logging

Array PlotDisplay vectors or arrays
Spectrum AnalyzerDisplay frequency spectrum of time-domain signals
Time ScopeDisplay signals generated during simulation
Vector ScopeDisplay vector or matrix of time-domain, frequency-domain, or user-defined data
Matrix ViewerDisplay matrices as color images
WaterfallView vectors of data over time
To WorkspaceWrite data to MATLAB workspace
Triggered To WorkspaceWrite input sample to MATLAB workspace when triggered

Buffers, Switches, and Counters

BufferBuffer input sequence to smaller or larger frame size
Delay LineRebuffer sequence of inputs
QueueStore inputs in FIFO register
StackStore inputs into LIFO register
UnbufferUnbuffer input frame into sequence of scalar outputs
CounterCount up or down through specified range of numbers
Edge DetectorDetect transition from zero to nonzero value
Event-Count ComparatorDetect threshold crossing of accumulated nonzero inputs
Multiphase ClockGenerate multiple binary clock signals
N-Sample EnableOutput ones or zeros for specified number of sample times
N-Sample SwitchSwitch between two inputs after specified number of sample periods

Signal Attributes and Indexing

Check Signal AttributesError when input signal does or does not match selected attributes exactly
Inherit ComplexityChange complexity of input to match reference signal
Convert 1-D to 2-DReshape 1-D or 2-D input to 2-D matrix with specified dimensions
Convert 2-D to 1-DConvert 2-D matrix input to 1-D vector
Data Type ConversionConvert input signal to specified data type
Frame ConversionSpecify sampling mode of output signal
FlipFlip input vertically or horizontally
Multiport SelectorDistribute arbitrary subsets of input rows or columns to multiple output ports
Overwrite ValuesOverwrite submatrix or subdiagonal of input
SelectorSelect input elements from vector, matrix, or multidimensional signal
SubmatrixSelect subset of elements (submatrix) from matrix input
Variable SelectorSelect subset of rows or columns from input

Filter Design and Analysis

Filter Design

Analog Filter DesignDesign and implement analog filters
Digital Filter DesignDesign and implement digital FIR and IIR filters
Filter Realization WizardConstruct filter realizations using digital filter blocks or Sum, Gain, and Delay blocks
Arbitrary Response FilterDesign arbitrary response filter
Bandpass FilterDesign bandpass filter
Bandstop FilterDesign bandstop filter
Comb FilterDesign comb Filter
Differentiator FilterDirect form FIR fullband differentiator filter
Hampel FilterFilter outliers using Hampel identifier
Highpass FilterDesign FIR or IIR highpass filter
Hilbert FilterDesign Hilbert filter
Inverse Sinc FilterDesign inverse sinc filter
Lowpass FilterDesign FIR or IIR lowpass filter
Median FilterMedian filter
Notch-Peak FilterDesign second-order tunable notching and peaking IIR filter
Variable Bandwidth FIR FilterDesign tunable bandwidth FIR filter
Variable Bandwidth IIR FilterDesign tunable bandwidth IIR filter
CIC FilterDesign Cascaded Integrator-Comb (CIC) Filter
CIC Compensation DecimatorCompensate for CIC filter using FIR decimator
CIC Compensation InterpolatorCompensate for CIC filter using FIR interpolator
FIR Halfband DecimatorDecimate signal using polyphase FIR halfband filter
FIR Halfband InterpolatorInterpolate signal using polyphase FIR half band filter
IIR Halfband DecimatorDecimate signal using polyphase IIR halfband filter
IIR Halfband InterpolatorInterpolate signal using polyphase IIR halfband filter
Nyquist FilterDesign Nyquist filter

Filter Implementation

Single-Rate Filters

Analytic SignalCompute analytic signals of discrete-time inputs
Differentiator FilterDirect form FIR fullband differentiator filter
Discrete Filter Model Infinite Impulse Response (IIR) filters
Discrete FIR FilterModel FIR filters
Discrete FIR Filter HDL OptimizedFinite impulse response filter—optimized for HDL code generation
Frequency-Domain FIR FilterFilter input signal in the frequency domain
Hampel FilterFilter outliers using Hampel identifier
Highpass FilterDesign FIR or IIR highpass filter
Lowpass FilterDesign FIR or IIR lowpass filter
Median FilterMedian filter
Variable Bandwidth FIR FilterDesign tunable bandwidth FIR filter
Allpass FilterSingle-section or multiple-section allpass filter
Allpole FilterModel allpole filters
Biquad FilterModel biquadratic IIR (SOS) filters
Notch-Peak FilterDesign second-order tunable notching and peaking IIR filter
Variable Bandwidth IIR FilterDesign tunable bandwidth IIR filter

Multirate and Multistage Filters

ChannelizerPolyphase FFT analysis filter bank
Channelizer HDL OptimizedPolyphase filter bank and fast Fourier transform—optimized for HDL code generation
Channel SynthesizerPolyphase FFT synthesis filter bank
Farrow Rate ConverterPolynomial sample-rate converter with arbitrary conversion factor
FIR DecimationFilter and downsample input signals
FIR Halfband DecimatorDecimate signal using polyphase FIR halfband filter
FIR Halfband InterpolatorInterpolate signal using polyphase FIR half band filter
FIR InterpolationUpsample and filter input signals
FIR Rate ConversionUpsample, filter, and downsample input signals
FIR Rate Conversion HDL OptimizedUpsample, filter, and downsample input signals—optimized for HDL code generation
IIR Halfband DecimatorDecimate signal using polyphase IIR halfband filter
IIR Halfband InterpolatorInterpolate signal using polyphase IIR halfband filter
Digital Down-ConverterTranslate digital signal from Intermediate Frequency (IF) band to baseband and decimate it
Digital Up-ConverterInterpolate digital signal and translate it from baseband to Intermediate Frequency (IF) band
Sample-Rate ConverterMultistage sample-rate conversion
CIC Compensation DecimatorCompensate for CIC filter using FIR decimator
CIC Compensation InterpolatorCompensate for CIC filter using FIR interpolator
CIC DecimationDecimate signal using Cascaded Integrator-Comb filter
CIC InterpolationInterpolate signal using Cascaded Integrator-Comb filter
Dyadic Analysis Filter BankDecompose signals into subbands with smaller bandwidths and slower sample rates or compute discrete wavelet transform (DWT)
Dyadic Synthesis Filter BankReconstruct signals from subbands with smaller bandwidths and slower sample rates or compute inverse discrete wavelet transform (IDWT)
Two-Channel Analysis Subband FilterDecompose signal into high-frequency and low-frequency subbands
Two-Channel Synthesis Subband FilterReconstruct signal from high-frequency and low-frequency subbands

Adaptive Filters

Block LMS FilterCompute output, error, and weights using LMS adaptive algorithm
Fast Block LMS FilterCompute output, error, and weights using LMS adaptive algorithm
Kalman FilterPredict or estimate states of dynamic systems
LMS FilterCompute output, error, and weights using LMS adaptive algorithm
LMS UpdateEstimate weights of LMS adaptive filter
RLS FilterCompute filtered output, filter error, and filter weights for given input and desired signal using RLS adaptive filter algorithm

Transforms and Spectral Analysis

Transforms

Complex CepstrumCompute complex cepstrum of input
FFTFast Fourier transform (FFT) of input
IFFTInverse fast Fourier transform (IFFT) of input
Inverse Short-Time FFTRecover time-domain signals by performing inverse short-time, fast Fourier transform (FFT)
Magnitude FFTCompute nonparametric estimate of spectrum using periodogram method
Real CepstrumCompute real cepstrum of input
Short-Time FFTNonparametric estimate of spectrum using short-time, fast Fourier transform (FFT) method
Zoom FFTHigh-resolution FFT of a portion of a spectrum
FFT HDL OptimizedFast Fourier transform—optimized for HDL code generation
IFFT HDL OptimizedInverse fast Fourier transform—optimized for HDL code generation
DCTDiscrete cosine transform (DCT) of input
DWTDiscrete wavelet transform (DWT) of input or decompose signals into subbands with smaller bandwidths and slower sample rates
IDCTInverse discrete cosine transform (IDCT) of input
IDWTInverse discrete wavelet transform (IDWT) of input or reconstruct signals from subbands with smaller bandwidths and slower sample rates

Linear Prediction

Autocorrelation LPCDetermine coefficients of Nth-order forward linear predictors
Levinson-DurbinSolve linear system of equations using Levinson-Durbin recursion
LPC to LSF/LSP ConversionConvert linear prediction coefficients to line spectral pairs or line spectral frequencies
LPC to/from Cepstral CoefficientsConvert linear prediction coefficients to cepstral coefficients or cepstral coefficients to linear prediction coefficients
LPC to/from RCConvert linear prediction coefficients to reflection coefficients or reflection coefficients to linear prediction coefficients
LPC/RC to AutocorrelationConvert linear prediction coefficients or reflection coefficients to autocorrelation coefficients
LSF/LSP to LPC ConversionConvert line spectral frequencies or line spectral pairs to linear prediction coefficients

Spectral Analysis

Burg MethodPower spectral density estimate using Burg method
Covariance MethodPower spectral density estimate using covariance method
Cross-Spectrum EstimatorEstimate cross-power spectrum density
Discrete Transfer Function EstimatorCompute estimate of frequency-domain transfer function of system
Magnitude FFTCompute nonparametric estimate of spectrum using periodogram method
Modified Covariance MethodPower spectral density estimate using modified covariance method
PeriodogramPower spectral density or mean-square spectrum estimate using periodogram method
Short-Time FFTNonparametric estimate of spectrum using short-time, fast Fourier transform (FFT) method
Spectrum AnalyzerDisplay frequency spectrum of time-domain signals
Spectrum EstimatorEstimate power spectrum or power-density spectrum
Yule-Walker MethodPower spectral density estimate using Yule-Walker method
Burg AR EstimatorCompute estimate of autoregressive (AR) model parameters using Burg method
Covariance AR EstimatorCompute estimate of autoregressive (AR) model parameters using covariance method
Modified Covariance AR EstimatorCompute estimate of autoregressive (AR) model parameters using modified covariance method
Yule-Walker AR EstimatorCompute estimate of autoregressive (AR) model parameters using Yule-Walker method

Statistics and Linear Algebra

Measurements and Statistics

Median FilterMedian filter
Moving AverageMoving average
Moving MaximumMoving maximum
Moving MinimumMoving minimum
Moving RMSMoving RMS
Moving Standard DeviationMoving standard deviation
Moving VarianceMoving variance
AutocorrelationAutocorrelation of N-D array
CorrelationCross-correlation of two N-D arrays
MaximumMaximum values of input or sequence of inputs
MeanFind mean value of input or sequence of inputs
MedianMedian value of input
MinimumMinimum values of input or sequence of inputs
RMSRoot mean square value of input or sequence of inputs
SortSort input elements by value
Standard DeviationStandard deviation of input or sequence of inputs
VarianceVariance of input or sequence of inputs
HistogramHistogram of input or sequence of inputs

Array and Matrix Mathematics

Array-Vector AddAdd vector to array along specified dimension
Array-Vector DivideDivide array by vector along specified dimension
Array-Vector MultiplyMultiply array by vector along specified dimension
Array-Vector SubtractSubtract vector from array along specified dimension
Complex to Magnitude-Angle HDL OptimizedCompute magnitude and/or phase angle of complex signal—optimized for HDL code generation using the CORDIC algorithm
Cumulative ProductCumulative product of channel, column, or row elements
Cumulative SumCumulative sum of channel, column, or row elements
dB ConversionConvert magnitude data to decibels (dB or dBm)
dB GainApply decibel gain
DifferenceCompute element-to-element difference along specified dimension of input
NormalizationPerform vector normalization along rows, columns, or specified dimension
Create Diagonal MatrixCreate square diagonal matrix from diagonal elements
Extract DiagonalExtract main diagonal of input matrix
Extract Triangular MatrixExtract lower or upper triangle from input matrices
Identity MatrixGenerate matrix with ones on main diagonal and zeros elsewhere
Matrix 1-NormCompute 1-norm of matrix
Matrix ConcatenateConcatenate input signals of same data type to create contiguous output signal
Matrix ExponentialCompute matrix exponential
Matrix MultiplyMultiply or divide inputs
Matrix ProductMultiply matrix elements along rows, columns, or entire input
Matrix SquareCompute square of input matrix
Matrix SumSum matrix elements along rows, columns, or entire input
Overwrite ValuesOverwrite submatrix or subdiagonal of input
Permute MatrixReorder matrix rows or columns
Reciprocal ConditionCompute reciprocal condition of square matrix in 1-norm
SubmatrixSelect subset of elements (submatrix) from matrix input
ToeplitzGenerate matrix with Toeplitz symmetry
Least Squares Polynomial FitCompute polynomial coefficients that best fit input data in least-squares sense
Polynomial EvaluationEvaluate polynomial expression
Polynomial Stability TestUse Schur-Cohn algorithm to determine whether all roots of input polynomial are inside unit circle

Linear Algebra

Cholesky FactorizationFactor square Hermitian positive definite matrix into triangular components
LDL FactorizationFactor square Hermitian positive definite matrices into lower, upper, and diagonal components
LU FactorizationFactor square matrix into lower and upper triangular components
QR FactorizationFactor arbitrary matrix into unitary and upper triangular components
Singular Value DecompositionFactor matrix using singular value decomposition
Backward SubstitutionSolve UX=B for X when U is upper triangular matrix
Cholesky SolverSolve SX=B for X when S is square Hermitian positive definite matrix
Forward SubstitutionSolve LX=B for X when L is lower triangular matrix
LDL SolverSolve SX=B for X when S is square Hermitian positive definite matrix
Levinson-DurbinSolve linear system of equations using Levinson-Durbin recursion
LU SolverSolve AX=B for X when A is square matrix
QR SolverFind minimum-norm-residual solution to AX=B
SVD SolverSolve AX=B using singular value decomposition
Cholesky InverseCompute inverse of Hermitian positive definite matrix using Cholesky factorization
LDL InverseCompute inverse of Hermitian positive definite matrix using LDL factorization
LU InverseCompute inverse of square matrix using LU factorization
PseudoinverseCompute Moore-Penrose pseudoinverse of matrix

Fixed-Point Design

Fixed-Point Filters

Allpole FilterModel allpole filters
Biquad FilterModel biquadratic IIR (SOS) filters
Differentiator FilterDirect form FIR fullband differentiator filter
Discrete Filter Model Infinite Impulse Response (IIR) filters
Discrete FIR FilterModel FIR filters
Discrete FIR Filter HDL OptimizedFinite impulse response filter—optimized for HDL code generation
Highpass FilterDesign FIR or IIR highpass filter
Lowpass FilterDesign FIR or IIR lowpass filter
CIC Compensation DecimatorCompensate for CIC filter using FIR decimator
CIC Compensation InterpolatorCompensate for CIC filter using FIR interpolator
CIC DecimationDecimate signal using Cascaded Integrator-Comb filter
CIC InterpolationInterpolate signal using Cascaded Integrator-Comb filter
Digital Down-ConverterTranslate digital signal from Intermediate Frequency (IF) band to baseband and decimate it
Digital Up-ConverterInterpolate digital signal and translate it from baseband to Intermediate Frequency (IF) band
Farrow Rate ConverterPolynomial sample-rate converter with arbitrary conversion factor
FIR DecimationFilter and downsample input signals
FIR Halfband DecimatorDecimate signal using polyphase FIR halfband filter
FIR Halfband InterpolatorInterpolate signal using polyphase FIR half band filter
FIR InterpolationUpsample and filter input signals
FIR Rate ConversionUpsample, filter, and downsample input signals
FIR Rate Conversion HDL OptimizedUpsample, filter, and downsample input signals—optimized for HDL code generation
Two-Channel Analysis Subband FilterDecompose signal into high-frequency and low-frequency subbands
Two-Channel Analysis Subband FilterDecompose signal into high-frequency and low-frequency subbands
LMS FilterCompute output, error, and weights using LMS adaptive algorithm
Filter Realization WizardConstruct filter realizations using digital filter blocks or Sum, Gain, and Delay blocks

Quantizers

G711 CodecQuantize narrowband speech input signals
QuantizerDiscretize input at specified interval
Scalar Quantizer DecoderConvert each index value into quantized output value
Scalar Quantizer DesignStart Scalar Quantizer Design Tool (SQDTool) to design scalar quantizer using Lloyd algorithm
Scalar Quantizer EncoderEncode each input value by associating it with index value of quantization region
Uniform DecoderDecode integer input into floating-point output
Uniform EncoderQuantize and encode floating-point input into integer output
Vector Quantizer DecoderFind vector quantizer codeword that corresponds to given, zero-based index value
Vector Quantizer DesignDesign vector quantizer using Vector Quantizer Design Tool (VQDTool)
Vector Quantizer EncoderFor given input, find index of nearest codeword based on Euclidean or weighted Euclidean distance measure
Was this topic helpful?