Borrar filtros
Borrar filtros

Solving ODE becomes unstable when using a decaying signal

2 visualizaciones (últimos 30 días)
Christian Lenz
Christian Lenz el 29 de Ag. de 2012
I'm solving a stiff, time-dependent ode using mass matrix and a jacobian matrix with the ode15s solver. The problem is vectorized.
As long as I have signals (i.e. the time-dependent term) that rise with time there are no problems. But as soon as the signal is decaying the solver canot compute the solution anymore. This is not true for sinusoidal signals, then it works fine.
Is there any "general thing" I overlooked?
Thanks!

Respuestas (1)

Babak
Babak el 29 de Ag. de 2012
I had same problem before.
Try deriving the "dimensionless" form of your equations and solve those. usually if you are solving stiff ODEs in which the variables have dimensions the solver may fail.

Categorías

Más información sobre Ordinary Differential Equations en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by