BVP4c-display iterations while running
3 ビュー (過去 30 日間)
古いコメントを表示
Hello,
I am using BVP4c to solve a boundary value problem. I get this error
??? Error using ==> bvp4c at 252 Unable to solve the collocation equations -- a singular Jacobian encountered So,I am trying to find out at each iteration the singularity occurs. Is there anyway to display the iterations in the command window? I will appreciate your help.
Many thanks,
Mona
0 件のコメント
回答 (1 件)
Walter Roberson
2011 年 5 月 27 日
You might also want to try setting the SingularTerm option there to see if that overcomes your singularity difficulty.
2 件のコメント
Walter Roberson
2011 年 5 月 27 日
You could use a global variable in the function that you call; initialize it to 0 before-hand, and increment it by 1 and display the new value each time the function was called.
参考
カテゴリ
Help Center および File Exchange で Boundary Value Problems についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!