You can perform several mathematical operations on arrays and matrices using System objects and blocks in the DSP System Toolbox™. These operations include simple operations such as addition, subtraction, multiplication, and division, and more complex operations such as cumulative sum, cumulative product, and normalization. You can also extract diagonals and upper and lower triangles from matrices. In addition, there are DSP System Toolbox blocks that perform polynomial fitting in a least-squares sense, evaluate polynomial expressions, and determine if the roots of a polynomial are inside the unit circle.
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.HDLComplexToMagnitudeAngle | Magnitude and phase angle of complex signal—optimized for HDL code generation |
Variable-Size Signal Support DSP System Objects
List of System objects which support variable-sized signals in DSP System Toolbox.