| Signal Processing Toolbox | ![]() |
Functions - By Category
This section contains brief descriptions of all functions in the toolbox arranged by category. For a list of all functions in alphabetical order, see Functions -- Alphabetical List
The Signal Processing Toolbox contains the following categories of functions.
Analog Lowpass Filter Prototypes
Statistical Signal Processing and Spectral Analysis
Filter Analysis
absAbsolute value (magnitude). (This is a MATLAB function.)
anglePhase angle. (This is a MATLAB function.)
freqsFrequency response of analog filters.
freqspaceFrequency spacing for frequency response. (This is a MATLAB function.)
freqzCompute the frequency response of digital filters.
fvtoolOpen the Filter Visualization Tool.
grpdelayCompute the average filter delay (group delay).
impzCompute the impulse response of digital filters.
phasedelayCompute the phase delay response of digital filters.
phasezCompute the phase response of digital filters.
stepzCompute the step response of digital filters.
unwrapUnwrap phase angles. (This is a MATLAB function.)
zerophaseCompute the zero-phase reponse of digital filters.
zplaneZero-pole plot.
Filter Implementation
convConvolution and polynomial multiplication. (This is a MATLAB function.)
conv2Two-dimensional convolution. (This is a MATLAB function.)
deconvDeconvolution and polynomial division. (This is a MATLAB function.)
fftfiltFFT-based FIR filtering using the overlap-add method.
filterFilter data with a recursive (IIR) or nonrecursive (FIR) filter. (This is a MATLAB function.)
filter2Two-dimensional digital filtering. (This is a MATLAB function.)
filtfiltZero-phase digital filtering.
filticFind initial conditions for a transposed direct form II filter implementation.
latcfiltLattice and lattice-ladder filter implementation.
medfilt1One-dimensional median filtering.
sgolayfiltSavitzky-Golay filtering.
sosfiltSecond-order (biquadratic) IIR digital filtering.
upfirdnUpsample, apply an FIR filter, and downsample.
FIR Digital Filter Design
convmtxConvolution matrix.
cremezComplex and nonlinear-phase equiripple FIR filter design.
dfiltCreate filter using object-oriented syntax.
fir1Design a window-based finite impulse response filter.
fir2Design a frequency sampling-based finite impulse response filter.
firclsConstrained least square FIR filter design for multiband filters.
fircls1Constrained least square filter design for lowpass and highpass linear phase FIR filters.
firgaussGaussian FIR filter design.
firlsLeast square linear-phase FIR filter design.
firrcosRaised cosine FIR filter design.
intfiltInterpolation FIR filter design.
kaiserordEstimate parameters for an FIR filter design with Kaiser window.
remezCompute the Parks-McClellan optimal FIR filter design.
remezordParks-McClellan optimal FIR filter order estimation.
sgolaySavitzky-Golay filter design.
IIR Digital Filter Design
butterButterworth analog and digital filter design.
cheby1Chebyshev Type I filter design (passband ripple).
cheby2Chebyshev Type II filter design (stopband ripple).
dfiltCreate filter using object-oriented syntax.
ellipElliptic (Cauer) filter design.
maxflatGeneralized digital Butterworth filter design.
pronyProny's method for time-domain IIR filter design.
stmcbCompute a linear model using Steiglitz-McBride iteration.
yulewalkRecursive digital filter design.
IIR FIlter Order Estimation
buttordCalculate the order and cutoff frequency for a Butterworth filter.
cheb1ordCalculate the order for a Chebyshev Type I filter.
cheb2ordCalculate the order for a Chebyshev Type II filter.
ellipordCalculate the minimum order for elliptic filters.
Analog Lowpass Filter Prototypes
besselapBessel analog lowpass filter prototype.
buttapButterworth analog lowpass filter prototype.
cheb1apChebyshev Type I analog lowpass filter prototype.
cheb2apChebyshev Type II analog lowpass filter prototype.
ellipapElliptic analog lowpass filter prototype.
Analog Filter Design
besselfBessel analog filter design.
butterButterworth analog and digital filter design.
cheby1Chebyshev Type I filter design (passband ripple).
cheby2Chebyshev Type II filter design (stopband ripple).
ellipElliptic (Cauer) filter design.
Analog Filter Transformation
lp2bpTransform lowpass analog filters to bandpass.
lp2bsTransform lowpass analog filters to bandstop.
lp2hpTransform lowpass analog filters to highpass.
lp2lpChange the cut-off frequency for a lowpass analog filter.
Filter Discretization
bilinearBilinear transformation method for analog-to-digital filter conversion.
impinvarImpulse invariance method for analog-to-digital filter conversion.
Linear System Transformations
latc2tfConvert lattice filter parameters to transfer function form.
polystabStabilize a polynomial.
polyscaleScale the roots of a polynomial.
residuezz-transform partial-fraction expansion.
sos2ssConvert digital filter second-order section parameters to state-space form.
sos2tfConvert digital filter second-order section data to transfer function form.
sos2zpConvert digital filter second-order sections parameters to zero-pole-gain form.
ss2sosConvert digital filter state-space parameters to second-order sections form.
ss2tfConvert state-space filter parameters to transfer function form.
ss2zpConvert state-space filter parameters to zero-pole-gain form.
tf2latcConvert transfer function filter parameters to lattice filter form.
tf2sosConvert digital filter transfer function data to second-order sections form.
tf2ssConvert transfer function filter parameters to state-space form.
tf2zpConvert continuous-time transfer function filter parameters to zero-pole-gain form
tf2zpkConvert discrete-time transfer function filter parameters to zero-pole-gain form
zp2sosConvert digital filter zero-pole-gain parameters to second-order sections form.
zp2ssConvert zero-pole-gain filter parameters to state-space form.
zp2tfConvert zero-pole-gain filter parameters to transfer function form.
Windows
barthannwinCompute a modified Bartlett-Hann window.
bartlettCompute a Bartlett window.
blackmanCompute a Blackman window.
blackmanharrisCompute a minimum 4-term Blackman-Harris window.
bohmanwinCompute a Bohman window.
chebwinCompute a Chebyshev window.
flattopwinCompute a flat top window.
gausswinCompute a Gaussian window.
hammingCompute a Hamming window.
hannCompute the Hann (Hanning) window.
kaiserCompute a Kaiser window.
nuttallwinCompute a Nuttall-defined minimum 4-term Blackman-Harris window.
parzenwinCompute a Parzen (de la Valle-Poisson) window.
rectwinCompute a rectangular window.
sigwinCreate window using object-oriented syntax.
triangCompute a triangular window.
tukeywinCompute a Tukey (tapered cosine) window.
windowWindow function gateway.
Transforms
bitrevorderPermute input into bit-reversed order.
cztChirp z-transform.
dctDiscrete cosine transform (DCT).
dftmtxDiscrete Fourier transform matrix.
fftCompute the one-dimensional fast Fourier transform. (This is a MATLAB function.)
fft2Compute the two-dimensional fast Fourier transform. (This is a MATLAB function.)
fftshiftRearrange the outputs of the FFT functions. (This is a MATLAB function.)
goertzelCompute the discrete Fourier transform using the second order Goertzel algorithm.
hilbertCompute the discrete-time analytic signal using the Hilbert transform.
idctInverse discrete cosine transform.
ifftOne-dimensional inverse fast Fourier transform. (This is a MATLAB function.)
ifft2Two-dimensional inverse fast Fourier transform. (This is a MATLAB function.)
Cepstral Analysis
ccepsComplex cepstral analysis.
iccepsInverse complex cepstrum.
rcepsReal cepstrum and minimum phase reconstruction.
Statistical Signal Processing and Spectral Analysis
cohereEstimate magnitude squared coherence function between two signals.
corrcoefCompute the correlation coefficient matrix. (This is a MATLAB function.)
corrmtxCompute a data matrix for autocorrelation matrix estimation.
covCompute the covariance matrix. (This is a MATLAB function.)
csdEstimate the cross spectral density (CSD) of two signals.
pburgEstimate the power spectral density using the Burg method.
pcovEstimate the power spectral density using the covariance method.
peigEstimate the pseudospectrum using the eigenvector method.
periodogramEstimate the power spectral density (PSD) of a signal using a periodogram.
pmcovEstimate the power spectral density using the modified covariance method.
pmtmEstimate the power spectral density using the multitaper method (MTM).
pmusicEstimate the power spectral density using MUSIC algorithm.
psdplotPlot power spectral density (PSD) data.
pwelchEstimate the power spectral density (PSD) of a signal using Welch's method.
pyulearEstimate the power spectral density using the Yule-Walker AR method.
rooteigEstimate frequency and power content using the eigenvector method.
rootmusicEstimate frequency and power content using the root MUSIC algorithm.
tfeEstimate the transfer function from input and output.
xcorrEstimate the cross-correlation function.
xcorr2Estimate the two-dimensional cross-correlation.
xcovEstimate the cross-covariance function (equal to mean-removed cross-correlation).
Parametric Modeling
arburgCompute an estimate of AR model parameters using the Burg method.
arcovCompute an estimate of AR model parameters using the covariance method.
armcovCompute an estimate of AR model parameters using the modified covariance method.
aryuleCompute an estimate of AR model parameters using the Yule-Walker method.
identSee the System Identification Toolbox documentation.
invfreqsIdentify continuous-time filter parameters from frequency response data.
invfreqzIdentify discrete-time filter parameters from frequency response data.
pronyProny's method for time domain IIR filter design.
stmcbCompute a linear model using Steiglitz-McBride iteration.
Linear Prediction
ac2polyConvert an autocorrelation sequence to prediction polynomial.
ac2rcConvert an autocorrelation sequence to reflection coefficients.
is2rcConvert inverse sine parameters to reflection coefficients.
lar2rcConvert log area ratio parameters to reflection coefficients.
levinsonCompute the Levinson-Durbin recursion.
lpcCompute linear prediction filter coefficients.
lsf2polyConvert line spectral frequencies to a prediction filter coefficients.
poly2acConvert a prediction filter polynomial to an autocorrelation sequence.
poly2lsfConvert prediction filter coefficients to line spectral frequencies.
poly2rcConvert a prediction filter polynomial to reflection coefficients.
rc2acConvert reflection coefficients to an autocorrelation sequence.
rc2isConvert reflection coefficients to inverse sine parameters.
rc2larConvert reflection coefficients to log area ratio parameters.
rc2polyConvert reflection coefficients to a prediction filter polynomial.
rlevinsonCompute the reverse Levinson-Durbin recursion.
schurrcCompute reflection coefficients from an autocorrelation sequence.
Multirate Signal Processing
decimateDecrease the sampling rate for a sequence (decimation).
downsampleReduce the sampling rate by an integer factor.
interpIncrease sampling rate by an integer factor (interpolation).
interp1One-dimensional data interpolation (table lookup).
resampleChange sampling rate by any rational factor.
splineCubic spline interpolation.
upfirdnUpsample, apply an FIR filter, and downsample.
upsampleIncrease the sampling rate by an integer factor
Waveform Generation
chirpGenerate a swept-frequency cosine.
diricCompute the Dirichlet or periodic sinc function.
gauspulsGenerate a Gaussian-modulated sinusoidal pulse.
gmonopulsGenerate a Gaussian monopulse.
pulstranGenerate a pulse train.
rectpulsGenerate a sampled aperiodic rectangle.
sawtoothGenerate a sawtooth or triangle wave.
sincSinc function.
squareGenerate a square wave.
tripulsGenerate a sampled aperiodic triangle.
vcoVoltage controlled oscillator.
Specialized Operations
bufferBuffer a signal vector into a matrix of data frames.
cell2sosConvert a cell array for second-order sections to a second-order section matrix.
cplxpairGroup complex numbers into complex conjugate pairs. (This is a MATLAB function.)
demodDemodulation for communications simulation.
dpssDiscrete prolate spheroidal sequences (Slepian sequences).
dpssclearRemove discrete prolate spheroidal sequences from database.
dpssdirDiscrete prolate spheroidal sequences database directory.
dpssloadLoad discrete prolate spheroidal sequences from database.
dpsssaveSave discrete prolate spheroidal sequences in database.
eqtflengthMake the lengths of a transfer function's numerator and denominator equal.
modulateModulation for communications simulation.
seqperiodCompute the period of a sequence.
sos2cellConvert a second-order section matrix to cell arrays.
specgramTime-dependent frequency analysis (spectrogram).
stemPlot discrete sequence data.
stripsStrip plot.
udecodeDecode 2n-level quantized integer inputs to floating-point outputs.
uencodeQuantize and encode floating-point inputs to integer outputs.
Graphical User Interfaces
fdatoolOpen the Filter Design and Analysis Tool.
fvtoolOpen the Filter Visualization Tool.
sptoolInteractive digital signal processing tool (SPTool).
wintoolOpen the Window Design and Analysis Tool.
wvtoolOpen the Window Visualization Tool.
| Making Signal Measurements: Using Markers | Functions -- Alphabetical List | ![]() |