Math Operations
In the Math Operations section of the basic library of blocks, you can perform various mathematical operations on signals, including addition, multiplication, root extraction and polynomials. These blocks allow you to convert signals, calculate scalar products, moduli and trigonometric functions.
- Abs
-
Absolute value (modulus).
- Add
-
Performs addition or subtraction of input signals.
- Assignment
-
Assigns new values to the specified signal elements.
- Bias
-
Adds an offset to the input signal.
- Complex to Magnitude-Angle
-
Calculates the modulus and/or phase angle of the complex signal.
- Complex to Real-Imag
-
Outputs the real and imaginary parts of the complex input signal.
- Dot Product
-
Performs the scalar product of two vectors.
- Gain
-
Multiplies the input signal by a constant.
- Magnitude-Angle to Complex
-
Converts the modulus and/or phase angle of a signal into a complex signal.
- Math Function
-
Maths function.
- MinMax
-
Searches for the minimum or maximum value.
- MinMax Running Resettable
-
Determines the minimum or maximum of the signal over time.
- Polynomial
-
Calculates the value of a polynomial using the given coefficients.
- Divide
-
Performs multiplication and division of scalars and non-scalars.
- Real-Imag to Complex
-
Converts a real and/or imaginary input signal into a complex output signal.
- Reshape
-
Changes the dimensionality of a vector or matrix signal.
- Rounding Function
-
Applies the rounding function to the signal.
- Sign
-
Determines the sign of the input.
- Sqrt
-
Calculates the square root, the square root with sign, or the inverse of the square root.
- Trigonometric Function
-
Applies the trigonometric function to the input signal.
- Unary Minus
-
Inverts the input signal.
- Weighted Sample Time
-
Performs calculations that include a calculation step.