Skip to content

Math Function ​

Applies one function to a double input: |u|, √u, u², 1/u, sign, eᵘ, ln, log₁₀, or the power aᵇ (which adds a second input b at the bottom). Out-of-domain inputs follow IEEE-754 arithmetic, as Multiply does for division: √ of a negative number and ln or log₁₀ of a negative number give NaN, ln 0 gives −∞, and 1/0 gives ±∞. sign gives −1, 0 or 1.

Category: Math

Ports ​

PortKindSignalNotes
inControl inputReal
in_bControl inputRealShown when Function is aᵇ
outControl outputReal

Parameters ​

ParameterTypeDefaultUnitsDescriptionID
FunctionChoice: |u| / √u / u² / 1/u / sgn / eᵘ / ln / log₁₀ / aᵇ|u|—The function applied to the input u. aᵇ raises the input a to the power on the second input b.op

In the course ​