Bvp4c: Unable to solve the collocation equations -- a singular Jacobian encountered.
7 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Marcus Rosales
le 6 Avr 2022
Réponse apportée : Marcus Rosales
le 10 Avr 2022
I am trying to solve a boundary value problem, but I keep getting the above error. I know there are similar posts to this, but I can not seem to get this to work with them, so maybe someone can look directly at my code to get an answer?
The differential equation I want to solve is (putting it in first order form and wrting as a row vector): . Here:
I included my code as well and used to pick an inital guess. This is doing a bad job of that I think however! What else could I do here? Another inital guess, another function? Any help will be appreciated!
2 commentaires
Torsten
le 6 Avr 2022
I mean to remember that this is a transformed equation with tanh to map (-oo,oo) to [-1:1].
Could you include the original equation as well ?
Réponse acceptée
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Numerical Integration and Differential Equations dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!