Nom

TrigFun — Trigonometric function

Block Screenshot

Contents

Palette

Description

The Trigonometric Function block performs numerous common trigonometric functions. You can select one of these functions from the Function list: sin, cos, tan, asin, acos, atan, atan2, sinh, cosh, and tanh. The block output is the result of the operation of the function on the input or inputs.

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/sin_blk.c (Type 4)