Math Function
Purpose
Apply specified mathematical function
Library
Control / Math
Description
The Math Function block calculates the output by applying the specified function to the input. For functions that require two inputs, the first input is marked with a black dot.
Parameter
- Function
- Chooses which function is applied to the input signals. Available functions
are
square
square root
exponential
logarithm
power
mod
rem
mod and rem both return the floating-point remainder of
. If
and
have different signs, the result of rem has the same sign as
while the result of mod has the same sign as
.
Probe Signals
- Input
- The input signals.
- Output
- The output signal.