Mathematical expression
The output of the Expression block is specified by a scalar Scilab
expression in terms of variables u1,...,un where ui represents
either the ith scalar input of the block or the ith entry of its
unique input.
The mathematical functions allowed are : sin, cos, tan, exp, log, sinh,
cosh, tanh, int, round, ceil, floor, sign, abs, max,
min, asin, acos, atan, asinh, acosh, atanh, atan2, log10.
- Number of inputs
Block input can be a scalar or vector.
Properties : Type 'vec' of size 1
- Scilab expression
The Scilab expression applied to the input.
Properties : Type 'vec' of size 1
- Use zero-crossing
Select to enable zero crossing detection.
Properties : Type 'vec' of size 1
- always active: no
- direct-feedthrough: yes
- zero-crossing: yes
- mode: yes
- regular inputs:
- port 1 : size [1,1] / type 1
- port 2 : 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: evaluate_expr
- SCI/macros/scicos_blocks/Misc/EXPRESSION.sci [view code]
- SCI/routines/scicos/evaluate_expr.c (Type 4) [view code]
Ramine Nikoukhah INRIA