20-10-2016, 12:46 PM
1460169193-SignalProcessingBlockset.docx (Size: 37.81 KB / Downloads: 7)
The Signal Processing Blockset is a tool for digital signal processing algorithm simulation and code generation. It is made up of blocks contained within block libraries. You can interconnect these blocks to create sophisticated models capable of operations such as speech and audio processing, wireless digital communications, radar/sonar, and medical electronics.
It consists of following toolboxs:
• Estimation: Perform spectrum estimates and autoregressive modeling
• Filtering: Design, create, and work with filters
• Math Function: Perform linear algebra and basic math calculations
• Quantizers: Design and implement quantization schemes
• Signal Management: Perform basic signal processing operation
• Signal Operations: Control signal attributes, buffer signals, and index signals
• Signal Processing Sinks: View or log signals
• Signal Processing Sources: Generate discrete-time signals
• Statistics: Perform statistical computations on signals
• Transforms: Compute transforms
ESTIMATION
Linear Prediction: Compute or work with linear predictive representations
Parametric Estimation: Compute estimates of autoregressive model parameters
Power Spectrum Estimation: Compute parametric and nonparametric spectral estimates
LINEAR PREDICTION
Autocorrelation LPCetermine 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/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
PARAMETRIC ESTIMATION
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
POWER SPECTRUM ESTIMATION
Burg Methodower spectral density estimate using Burg method
Covariance Methodower spectral density estimate using covariance method
Magnitude FFT:Compute nonparametric estimate of spectrum using periodogram method
Modified Covariance Methodower spectral density estimate using modified covariance method
Periodogramower spectral density or mean-square spectrum estimate using periodogram method
Yule-Walker Methodower spectral density estimate using Yule-Walker method
FILTERING
Adaptive Filters:Use adaptive filter algorithms
Filter Designsesign and implement single- and multirate FIR and IIR filters
Filter Implementationsesign and implement filters
Multirate Filters:Implement multirate filters
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 Filterredict or estimate states of dynamic systems
LMS Filter:Compute output, error, and weights using LMS adaptive algorithm
RLS Filter:Compute filtered output, filter error, and filter weights for given input and desired signal using RLS adaptive filter algorithm
FILTER DESIGNS
Arbitrary Response Filteresign arbitrary response filter
Bandpass Filter: Design bandpass filter
Bandstop Filteresign bandstop filter
CIC Compensatoresign CIC compensator
CIC Filteresign Cascaded Integrator-Comb (CIC) Filter
Comb Filteresign comb Filter
Differentiator Filteresign differentiator filter
Halfband Filteresign halfband filter
Highpass Filteresign highpass filter
Hilbert Filteresign Hilbert filter
Inverse Sinc Filteresign inverse sinc filter
Lowpass Filteresign lowpass Filter
Nyquist Filteresign Nyquist filter
Octave Filteresign octave filter
Parametric Equalizeresign parametric equalizer
Peak-Notch Filteresign peak or notch filter
Pulse Shaping Filteresign pulse shaping filter
FILTER IMPLEMENTATIONS
Analog Filter Designesign and implement analog filters
Biquad Filter:Model biquadratic IIR (SOS) filters
Digital Filter:Filter each channel of input over time using static or time-varying digital filter implementations
Digital Filter Designesign and implement digital FIR and IIR filters
Filter Realization Wizard:Construct filter realizations using Digital Filter block or Sum, Gain, and Delay blocks
Overlap-Add FFT Filter:Implement overlap-add method of frequency-domain filtering
Overlap-Save FFT Filter:Implement overlap-save method of frequency-domain filtering
MULTIRATE FILTERS
CIC Decimationecimate signal using Cascaded Integrator-Comb filter
CIC Interpolation:Interpolate signal using Cascaded Integrator-Comb filter
Dyadic Analysis Filter Bankecompose 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)
FIR Decimation:Filter and downsample input signals
FIR Interpolation:Upsample and filter input signals
FIR Rate Conversion:Upsample, filter, and downsample input signals
Two-Channel Analysis Subband Filterecompose signal into high-frequency subband and low-frequency subband
Two-Channel Synthesis Subband Filter:Reconstruct signal from high-frequency subband and low-frequency subband
MATH FUNCTION
Math Operations:Use specialized math operations for signal processing applications
Matrices and Linear Algebra:Work with matrices
Polynomial Functions:Work with polynomials
MATH OPERATION
Complex Exponential:Compute complex exponential function
Cumulative Product:Compute cumulative product of channel, column, or row elements
Cumulative Sum:Compute 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
MATRICES AND LINEAR ALGEBRA
Linear System Solvers:Solve matrix equation AX = B for X
Matrix Factorizations:Factor matrices
Matrix Inverses:Invert matrices
Matrix Operationserform basic matrix operations
Linear System Solvers
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
Matrix Factorizations
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
Matrix Inverses
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
Matrix Operations
Array-Vector Add:Add vector to array along specified dimension
Array-Vector Divideivide 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
Constant Diagonal Matrix:Generate square, diagonal matrix
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
Matrix Sum (Obsolete):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
Transpose:Compute matrix transpose
Polynomial Functions
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
QUANTIZERS
G711 Codec:Quantize narrowband speech input signals
Quantizeriscretize 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 Decoderecode integer input into floating-point output
Uniform Encoder:Quantize and encode floating-point input into integer output
Vector Quantizer Decoder:Find vector quantizercodeword that corresponds to given, zero-based index value
Vector Quantizer Designesign 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
SIGNAL MANAGEMENT
Buffers:Change sample rate or frame rate of signals by buffering or unbuffering
Indexing:Manipulate ordering of signals
Signal Attributes:Inspect or modify signal attributes
Switches and Counterserform actions when events occur
BUFFERS
Buffer:Buffer input sequence to smaller or larger frame size
Delay Line:Rebuffer sequence of inputs with one-sample shift
Queue:Store inputs in FIFO register
Stack:Store inputs into LIFO register
Unbuffer:Unbuffer input frame into sequence of scalar outputs
INDEXING
Flip:Flip input vertically or horizontally
Multiport Selectoristribute 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
SIGNAL ATTRIBUTES
Check Signal Attributes:Error when input signal does or does not match selected attributes exactly
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
Inherit Complexity:Change complexity of input to match reference signal
SWITCHES AND COUNTERS
Counter: Count up or down through specified range of numbers
Edge Detectoretect transition from zero to nonzero value
Event-Count Comparatoretect 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 OPERATIONS
Constant Ramp:Generate ramp signal with length based on input dimensions
Convolution:Compute convolution of two inputs
Delayelay discrete-time input by specified number of samples or frames
Downsample:Resample input at lower rate by deleting samples
Interpolation:Interpolate values of real input samples
NCO:Generate real or complex sinusoidal signals
Offset:Truncate vectors by removing or keeping beginning or ending values
Padad or truncate specified dimension(s)
Peak Finderetermine whether each value of input signal is local minimum or maximum
Repeat:Resample input at higher rate by repeating values
Sample and Hold:Sample and hold input signal
Triggered Signal From Workspace:Import signal samples from MATLAB workspace when triggered
Unwrap:Unwrap signal phase
Upsample:Resample input at higher rate by inserting zeros
Variable Fractional Delayelay input by time-varying fractional number of sample periods
Variable Integer Delayelay input by time-varying integer number of sample periods
Window Function:Compute and/or apply window to input signal
Zero Crossing:Count number of times signal crosses zero in single time step
SIGNAL PROCESSING SINKS
Display:Show value of input
Matrix Viewerisplay matrices as color images
Signal To Workspace:Write simulation data to array in MATLAB workspace
Spectrum Scope:Compute and display periodogram of each input signal
Time Scopeisplay time-domain signals
To Audio Device:Write audio data to computer's audio device
To Multimedia File:Write video frames and audio samples to multimedia file
Triggered To Workspace:Write input sample to MATLAB workspace when triggered
UDP Send:Send UDP message
Vector Scopeisplay vector or matrix of time-domain, frequency-domain, or user-defined data
Waterfall:View vectors of data over time
SIGNAL PROCESSING SOURCES
Chirp:Generate swept-frequency cosine (chirp) signal
Constant:Generate constant value
Constant Diagonal Matrix:Generate square, diagonal matrix
Discrete Impulse:Generate discrete impulse
DSP Constant (Obsolete):Generate discrete- or continuous-time constant signal
From Audio Device:Read audio data from computer's audio device
From Multimedia File:Read multimedia file
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
Random Source:Generate randomly distributed values
Signal From Workspace:Import signal from MATLAB workspace
Sine Wave:Generate continuous or discrete sine wave
UDP Receive:Receive uint8 vector as UDP message
STATISTICS
Autocorrelation:Compute autocorrelation of vector or matrix input
Correlation:Compute cross-correlation of two inputs
Detrend:Remove linear trend from vectors
Histogram:Generate histogram of input or sequence of 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
TRANSFORMS
Analytic Signal: Compute analytic signals of discrete-time inputs
Complex Cepstrum:Compute complex cepstrum of input
DCT:Compute discrete cosine transform (DCT) of input
DWTiscrete wavelet transform (DWT) of input or decompose signals into subbands with smaller bandwidths and slower sample rates
FFT:Compute fast Fourier transform (FFT) of input
IDCT:Compute 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
IFFT:Compute 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:Compute nonparametric estimate of spectrum using short-time, fast Fourier transform (FFT) method