define a jacobian matrix in odeset for ode15s

3 visualizaciones (últimos 30 días)
Tony Cheng
Tony Cheng el 21 de Nov. de 2019
Hi guys,
I am using ode15s to solve my ODEs.
It is said that in odeset ( https://au.mathworks.com/help/matlab/ref/odeset.html#f92-1023074), providing information about the Jacobian matrix is critical for reliability and efficiency.
However, now what I have at hand is the mathematical model , where M is the mass matrix. I do not know what kind of jacobian matrix is in my model.
Can anyone offer me how to define a suitable jacobian matrix that can be applied in the odeset for computational reliability and efficiency ?
Many thanks!

Respuestas (0)

Categorías

Más información sobre Ordinary Differential Equations 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