Documentation

Math Operations

Mathematical function blocks such as Gain, Product, and Sum

Blocks

GainMultiply input by constant
ProductMultiply and divide scalars and nonscalars or multiply and invert matrices
SumAdd or subtract inputs
Vector ConcatenateConcatenate input signals of same data type to create contiguous output signal
Slider GainVary scalar gain using slider
Dot ProductGenerate dot product of two vectors
Product of ElementsCopy or invert one scalar input, or collapse one nonscalar input
DivideDivide one input by another
AddAdd or subtract inputs
SubtractAdd or subtract inputs
Sum of ElementsAdd or subtract inputs
AbsOutput absolute value of input
Math FunctionPerform mathematical function
Trigonometric FunctionSpecified trigonometric function on input
Rounding FunctionApply rounding function to signal
SignIndicate sign of input
SqrtCalculate square root, signed square root, or reciprocal of square root
Signed SqrtCalculate square root, signed square root, or reciprocal of square root
Reciprocal SqrtCalculate square root, signed square root, or reciprocal of square root
Algebraic ConstraintConstrain input signal
AssignmentAssign values to specified elements of signal
BiasAdd bias to input
Complex to Magnitude-AngleCompute magnitude and/or phase angle of complex signal
Complex to Real-ImagOutput real and imaginary parts of complex input signal
Find Find nonzero elements in array
Magnitude-Angle to ComplexConvert magnitude and/or a phase angle signal to complex signal
Matrix ConcatenateConcatenate input signals of same data type to create contiguous output signal
MinMaxOutput minimum or maximum input value
MinMax Running ResettableDetermine minimum or maximum of signal over time
Permute DimensionsRearrange dimensions of multidimensional array dimensions
PolynomialPerform evaluation of polynomial coefficients on input values
Real-Imag to ComplexConvert real and/or imaginary inputs to complex signal
ReshapeChange dimensionality of signal
Sine Wave FunctionGenerate sine wave, using external signal as time source
SqueezeRemove singleton dimensions from multidimensional signal
Unary MinusNegate input
Weighted Sample Time MathSupport calculations involving sample time
Was this topic helpful?