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 个评论

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

回答(1 个)

此问题已关闭。

产品

提问:

2013-3-10

关闭:

2021-8-20

Community Treasure Hunt

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

Start Hunting!

Translated by