# Documentation

### This is machine translation

Translated by
Mouseover text to see original. Click the button below to return to the English verison of the page.

To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

# Math Operations

Mathematical function blocks such as Gain, Product, and Sum

## Blocks

 Gain Multiply input by constant Product Multiply and divide scalars and nonscalars or multiply and invert matrices Sum Add or subtract inputs Vector Concatenate Concatenate input signals of same data type to create contiguous output signal
 Slider Gain Vary scalar gain using slider Dot Product Generate dot product of two vectors Product of Elements Copy or invert one scalar input, or collapse one nonscalar input Divide Divide one input by another Add Add or subtract inputs Subtract Add or subtract inputs Sum of Elements Add or subtract inputs
 Abs Output absolute value of input Math Function Perform mathematical function Trigonometric Function Specified trigonometric function on input Rounding Function Apply rounding function to signal Sign Indicate sign of input Sqrt Calculate square root, signed square root, or reciprocal of square root Signed Sqrt Calculate square root, signed square root, or reciprocal of square root Reciprocal Sqrt Calculate square root, signed square root, or reciprocal of square root
 Algebraic Constraint Constrain input signal to zero 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 Find Find nonzero elements in array Magnitude-Angle to Complex Convert magnitude and/or a phase angle signal to complex signal Matrix Concatenate Concatenate input signals of same data type to create contiguous output signal 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 Real-Imag to Complex Convert real and/or imaginary inputs to complex signal Reshape Change dimensionality of signal Sine Wave Function Generate sine wave, using external signal as time source Squeeze Remove singleton dimensions from multidimensional signal Unary Minus Negate input Weighted Sample Time Math Support calculations involving sample time