Borrar filtros
Borrar filtros

How to write my own jacobian function in ODE solver?

8 visualizaciones (últimos 30 días)
Sina
Sina el 21 de Jul. de 2014
Comentada: Star Strider el 21 de Jul. de 2014
Hi,
I would like to define my own Jacobian function for my solvers ode15s, ode23s, ode23t, and ode23tb. I can't find any think in options to access Jacobian from outside.

Respuesta aceptada

Star Strider
Star Strider el 21 de Jul. de 2014
You can for the solvers you mention. You don’t say what you’ve already done and what documentation you’ve already referred to, but the odeset option Jacobian Matrix Properties allows you to define and code your own analytic Jacobian as a function. (I haven’t needed to do this myself, so I’m just quoting the documentation here.)

Más respuestas (1)

Sina
Sina el 21 de Jul. de 2014
Thanks, I will try it

Categorías

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

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by