Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function
TrigFun
Trigonometric function
Block Screenshot
Contents
Description
The Trigonometric Function block performs numerous common trigonometric functions. You can select a function among those quoted in this table :
Function | Definition | Output |
sin | Sine of the input (radians) | y = sin(u) |
cos | Cosine of the input (radians) | y = cos(u) |
tan | Tangent of the input (radians) | y = tan(u) |
asin | Inverse sine (radians) of the input | y = asin(u) |
acos | Inverse cosine (radians) of the input | y = acos(u) |
atan | 2-quadrant and 4-quadrant inverse tangent (radians) of the input | y = atan(u) |
sinh | Hyperbolic sine of the input | y = sinh(u) |
cosh | Hyperbolic cosine of the input | y = cosh(u) |
tanh | Hyperbolic tangent of the input | y = tanh(u) |
The block output is the result of the applied function on the scalar input or on the vector's elements of input.
Parameters
Function
The trigonometric function.
Properties : Type 'str' of size 1
Default properties
always active: no
direct-feedthrough: yes
zero-crossing: no
mode: no
regular inputs:
- port 1 : size [-1,1] / type 1
regular outputs:
- port 1 : size [-1,1] / type 1
number/sizes of activation inputs: 0
number/sizes of activation outputs: 0
continuous-time state: no
discrete-time state: no
object discrete-time state: no
name of computational function: sin_blk
Interfacing function
SCI/modules/scicos_blocks/macros/NonLinear/TrigFun.sci
Computational function
- SCI/modules/scicos_blocks/src/c/acos_blk.c (Type 4)
- SCI/modules/scicos_blocks/src/c/acosh_blk.c (Type 4)
- SCI/modules/scicos_blocks/src/c/asin_blk.c (Type 4)
- SCI/modules/scicos_blocks/src/c/asinh_blk.c (Type 4)
- SCI/modules/scicos_blocks/src/c/atan_blk.c (Type 4)
- SCI/modules/scicos_blocks/src/c/atanh_blk.c (Type 4)
- SCI/modules/scicos_blocks/src/c/cos_blk.c (Type 4)
- SCI/modules/scicos_blocks/src/c/cosh_blk.c (Type 4)
- SCI/modules/scicos_blocks/src/c/sin_blk.c (Type 4)
- SCI/modules/scicos_blocks/src/c/sinh_blk.c (Type 4)
- SCI/modules/scicos_blocks/src/c/tan_blk.c (Type 4)
- SCI/modules/scicos_blocks/src/c/tanh_blk.c (Type 4)
Report an issue | ||
<< TANBLK_f | Mathoperations_pal | Matrix_pal >> |