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 Kommentare

Rakesh Chavan
Rakesh Chavan am 26 Mai 2016
Hi,
The link given below gives an example of calculating the Jacobian. You can modify your code accordingly
Hope this helps
-
Rakesh
Hadi Shafaei
Hadi Shafaei am 27 Apr. 2019
Hi The link doesn't work. Thanks

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Produkte

Gefragt:

am 14 Mai 2016

Kommentiert:

am 27 Apr. 2019

Community Treasure Hunt

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

Start Hunting!

Translated by