Math Operations

Blocks that perform mathematical operations, such as Gain and Sum

Blocks

Gain Multiply input by constant (HDL Coder)
Product Multiply and divide scalars and nonscalars or multiply and invert matrices (HDL Coder)
Sum Add or subtract inputs (HDL Coder)
Vector Concatenate Concatenate input signals of same data type to create contiguous output signal (HDL Coder)
Dot Product Generate dot product of two vectors (HDL Coder)
Product of Elements Copy or invert one scalar input, or collapse one nonscalar input (HDL Coder)
Divide Divide one input by another (HDL Coder)
Add Add inputs (HDL Coder)
Subtract Add or subtract inputs (HDL Coder)
Sum of Elements Add or subtract inputs (HDL Coder)
Abs Output absolute value of input (HDL Coder)
Math Function Perform mathematical function (HDL Coder)
Trigonometric Function Specified trigonometric function on input (HDL Coder)
Sign Indicate sign of input (HDL Coder)
Sqrt Calculate square root, signed square root, or reciprocal of square root (HDL Coder)
Reciprocal Sqrt Calculate square root, signed square root, or reciprocal of square root (HDL Coder)
Assignment Assign values to specified elements of signal (HDL Coder)
Bias Add bias to input (HDL Coder)
Complex to Real-Imag Output real and imaginary parts of complex input signal (HDL Coder)
Magnitude-Angle to Complex Convert magnitude and/or a phase angle signal to complex signal (HDL Coder)
Matrix Concatenate Concatenate input signals of same data type to create contiguous output signal (HDL Coder)
MinMax Output minimum or maximum input value (HDL Coder)
Real-Imag to Complex Convert real and/or imaginary inputs to complex signal (HDL Coder)
Reshape Change dimensionality of signal (HDL Coder)
Unary Minus Negate input (HDL Coder)
Decrement Real World Decrease real world value of signal by one (HDL Coder)
Decrement Stored Integer Decrease stored integer value of signal by one (HDL Coder)
Increment Real World Increase real world value of signal by one (HDL Coder)
Increment Stored Integer Increase stored integer value of signal by one (HDL Coder)
Was this topic helpful?