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 commentaires

Rakesh Chavan
Rakesh Chavan le 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 le 27 Avr 2019
Hi The link doesn't work. Thanks

Connectez-vous pour commenter.

Réponses (0)

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by