Math Operations
Mathematical function blocks such as Gain, Product, and Sum
Use blocks from the Math Operations library to model basic mathematical functions.
Blocks
| Abs | Output absolute value of input |
| Algebraic Constraint | Constrain input signal |
| Assignment | Assign values to specified elements of signal |
| Bias | Add bias to input |
| Complex to Magnitude-Angle | Compute magnitude and/or phase angle of complex signal |
| Complex to Real-Imag | Output real and imaginary parts of complex input signal |
| Divide | Divide one input by another |
| Dot Product | Generate dot product of two vectors |
| Find Nonzero Elements | Find nonzero elements in array |
| Gain | Multiply input by constant |
| Magnitude-Angle to Complex | Convert magnitude and/or a phase angle signal to complex signal |
| Math Function | Perform mathematical function |
| Matrix Concatenate | Concatenate input matrices of same data type for iterative processing |
| MinMax | Output minimum or maximum input value |
| MinMax Running Resettable | Determine minimum or maximum of signal over time |
| Permute Dimensions | Rearrange dimensions of multidimensional array dimensions |
| Polynomial | Perform evaluation of polynomial coefficients on input values |
| Product of Elements | Copy or invert one scalar input, or collapse one nonscalar input |
| Product, Matrix Multiply | Multiply and divide scalars and nonscalars or multiply and invert matrices |
| Real-Imag to Complex | Convert real and/or imaginary inputs to complex signal |
| Reshape | Change dimensionality of signal |
| Rounding Function | Apply rounding function to signal |
| Sign | Indicate sign of input |
| Sine Wave Function | Generate sine wave, using external signal as time source |
| Slider Gain | Vary scalar gain using slider |
| Sqrt | Calculate square root, signed square root, or reciprocal of square root |
| Squeeze | Remove singleton dimensions from multidimensional signal |
| Sum | Add or subtract inputs |
| Trigonometric Function | Specified trigonometric function on input |
| Unary Minus | Negate input |
| Vector Concatenate | Concatenate input vectors of same data type for iterative processing |
| Weighted Sample Time Math | Support calculations involving sample time |