I keep getting Index exceeds array bounds. for my code and don't know why.

 采纳的回答

You have a system of 6 differential equations, and a 2-element initial condition vector. You need to provide 6 initial conditions.
That’s one problem. I can’t run the image of your code, so I can’t determine if there are other problems as well.

更多回答(0 个)

类别

标签

Community Treasure Hunt

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

Start Hunting!

Translated by