Problems with the ode solvers

I have been trying to write programs for solving simple, linear second-order ode's using ode45. I have managed to write working programs for first-order ode's, but my attempts at programs for second-order ode's have error messages I cannot understand.
Are there examples, complete code, for solving linear, second-order ode's? If so, where can I find them. (The code for the example given in the text, the van der Pol's equation, is split into different parts and is confusing when I try to use it.)

1 Commento

Jan
Jan il 10 Mar 2013
It would be helpful, if you post your code and the error messages. Then a suggestion for improvements would be much easier.

Risposte (1)

Questa domanda è chiusa.

Prodotti

Richiesto:

il 10 Mar 2013

Chiuso:

il 20 Ago 2021

Community Treasure Hunt

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

Start Hunting!

Translated by