Array and Matrix Mathematics

Matrix multiplication, array operations, polynomial fitting

System Objects

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

Blocks

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 Exponential Compute complex exponential function
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
Least Squares Polynomial Fit Compute polynomial coefficients that best fit input data in least-squares sense
Normalization Perform vector normalization along rows, columns, or specified dimension
Polynomial Evaluation Evaluate polynomial expression
Polynomial Stability Test Use Schur-Cohn algorithm to determine whether all roots of input polynomial are inside unit circle
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
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 Transpose matrix
Was this topic helpful?