Borrar filtros
Borrar filtros

Integrator block integrating "the wrong direction"

1 visualización (últimos 30 días)
Marius
Marius el 16 de Abr. de 2015
In a simulink realtime model (external mode) I have an integrator that seems to integrate wrongly. A negative input signal of around -10.8 (constant except for noise) is integrated to a positive slope of about 1.5 and only when the signal drops to -14.8, the slope becomes negative (ca. - 2.5). I use ode4. When I try to reproduce the issue in a second model (save the data to the workspace, use it as input in the second model), normal mode with ode45, the integrator behaves as expected: First negative slope of about -11, then a steeper negative slope of about -15.
What am I doing wrong in the external mode model?

Respuestas (0)

Categorías

Más información sobre Schedule Model Components en Help Center y File Exchange.

Productos

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by