ode15i Jacobian Matrix

I have used the ihb1dae.m example to write a code for a 3 variable, coupled, second order fully implicit ode. I have been able to get the code to run but without the Jacobian matrix. I have constructed the matrix but am having trouble arranging the code, as the variables are defined after the matrix is constructed and I haven't been able to alter the order and still get the code to run. If anyone is able to help re-arrange the code that would be very helpful.
I have attached the code. Thanks

2 Comments

Hi,
The link given below gives an example of calculating the Jacobian. You can modify your code accordingly
Hope this helps
-
Rakesh
Hi The link doesn't work. Thanks

Sign in to comment.

Answers (0)

Categories

Find more on Programming in Help Center and File Exchange

Products

Asked:

on 14 May 2016

Commented:

on 27 Apr 2019

Community Treasure Hunt

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

Start Hunting!