PLECS 3.6 Online Help

Trigonometric Function

Purpose

Apply specified trigonometric function

Library

Control / Math

Description

pict

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...2π]   or degress [0...360]  .

Probe Signals

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