PLECS 3.2 Online Help |
Apply specified mathematical function
Control / Math
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.
![]() | ![]() |
![]() | ![]() |
![]() | ![]() |
![]() | ![]() |
![]() | ![]() |
![]() | ![]() |
![]() | ![]() |
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
.