Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.5.0 - Русский

Change language to:
English - Français - 日本語 - Português -

Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function

Справка Scilab >> Xcos > palettes > Math operations palette > TrigFun

TrigFun

Trigonometric function

Block Screenshot

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.

Dialog box

  • 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 Math operations palette Matrix operation palette >>

Copyright (c) 2022-2024 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Fri Apr 11 14:19:46 CEST 2014