Trigonometric Function

Purpose

Apply specified trigonometric function

Library

Control / Math

Description

../../_images/trigonometric_function.svg

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, atan and atan2.

Unit

Specifies the unit of the input signal (for sin, cos and tan) or output signal (for asin, acos and atan). The unit can be radians \([0 \ldots 2\pi]\) or degrees \([0 \ldots 360]\).

Probe Signals

Input

The block input signal.

Output

The block output signal.