Single step integrator block by Euler method (old block)
This block is a single step discrete integrator.
The output vector is the integral of the input vector computed with the first order "backward Euler"
method defined by the following formula :
where
is the time step,
the input vector and
the output vector.
- Step
Integration time step.
Type 'vec' of size 1.
- Initial state
Initial value of output state.
Type 'vec' of size -1.
- 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: 1
- number/sizes of activation outputs: 0
- continuous-time state: no
- discrete-time state: yes
- object discrete-time state: no
- name of computational function: int_euler
- MODNUMCOS/macros/scicos_blocks/Old/EULERINTEGRAL_f.sci [view code]
- MODNUMCOS/routines/old/int_euler.c (Type 2) [view code]
A. Layec
- [1]
T. Parker and L. Chua, Pratical Numerical Algorithms for Chaotic
Systems.Springer Verlag, Berlin,
1989.