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 件のコメント

Rakesh Chavan
Rakesh Chavan 2016 年 5 月 26 日
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 2019 年 4 月 27 日
Hi The link doesn't work. Thanks

サインインしてコメントする。

回答 (0 件)

カテゴリ

製品

質問済み:

2016 年 5 月 14 日

コメント済み:

2019 年 4 月 27 日

Community Treasure Hunt

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

Start Hunting!

Translated by