Trigonometric Function
Purpose
Apply specified trigonometric function
Library
Control / Math
Description
The Trigonometric Function calculates the specified function using the input signal as argument. The atan2 function calculates the principal value of the arc tangent of \(y/x\). The quadrant of the return value is determined by the signs of x and y. The y input is marked with a small black dot.
Parameters
- Function
Chooses which trigonometric function is calculated. Available functions are
sin,cos,tan,asin,acos,atanandatan2.- Unit
Specifies the unit of the input signal (for
sin,cosandtan) or output signal (forasin,acosandatan). The unit can beradians\([0 \ldots 2\pi]\) ordegrees\([0 \ldots 360]\).
Probe Signals
- Input
The block input signal.
- Output
The block output signal.