How to write my own jacobian function in ODE solver?

10 次查看(过去 30 天)
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.

采纳的回答

Star Strider
Star Strider 2014-7-21
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.)

更多回答(1 个)

Sina
Sina 2014-7-21
Thanks, I will try it

类别

Help CenterFile Exchange 中查找有关 Ordinary Differential Equations 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by