Trigonometric Function
Applies the trigonometric function to the input signal.
Description
The Trigonometric Function block performs common trigonometric functions.
Supported functions
The function to be used is specified by the Function parameter.
Function | Description | Mathematical expression |
---|---|---|
|
Sine |
|
|
Cosine |
|
|
Tangent |
|
|
Arcsinus |
|
|
Arccosine |
|
|
Arctangent |
|
|
Hyperbolic sine |
|
|
Hyperbolic cosine |
|
|
Hyperbolic tangent |
|
|
Hyperbolic arcsine |
|
|
Hyperbolic arccosine |
|
|
Hyperbolic arctangent |
|
|
Sine and cosine |
|
|
Tangent including sign |
|
Ports
Input
Port_1 - input signal, rad
scalar
| vector
| matrix
Input signal; scalar, vector or matrix. Values are considered to be expressed in radians.
Data Types: *Data types: Float16
, Float32
, Float64
, Int8
, Int16
, Int32
, Int64
, UInt8
, UInt16
, UInt32
, UInt64
, Bool
.
Output
Port_1 - specified trigonometric function from the input signal
scalar
| vector
| matrix
The result of application of the specified trigonometric function to one or to one or more inputs (in radians). Each function supports:
-
Scalar operations
-
Elemental vector and matrix operations
Data types: Float64
.
Parameters
Function - trigonometric function
sin (by default)
| cos
| tan
| asin
| acos
| atan
| atan2
| sinh
| cosh
| tanh
| asinh
| acosh
| atanh
| sincos
| atan2
Sets the trigonometric function. The function name on the block icon changes according to the selected function.
Block parameter |
|
Value |
|
Default value |
`sin ` |