PLECS 3.7 Online Help

Math Function

Purpose

Apply specified mathematical function

Library

Control / Math

Description

pict

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  y = u2   
∙   square root     √ --
y =   u   
∙   exponential      u
y = e   
∙   logarithm  y = ln(u)   
∙   power  y = uv   
∙   mod  y = mod(u,v)
∙   rem  y = rem(u,v)   

mod and rem both return the floating-point remainder of u ∕v  . If u   and v   have different signs, the result of rem has the same sign as u   while the result of mod has the same sign as v  .

Probe Signals

Input i   
The i  th input signal.
Output
The block output signal.