Solve sixth-order ODE in matlab
4 views (last 30 days)
Show older comments
Hi every one,
I want to solve a sixth-order ODE like y(6) + 2y(4) + y(2) = f(x) with 6 boundary conditions. Could anybody can help me?
Thank you in advance!
0 Comments
Accepted Answer
Torsten
on 2 Dec 2014
Use - depending on your boundary conditions - ODE45 or BVP4c and set up the system as
y1'=y2
y2'=y3
y3'=y4
y4'=y5
y5'=y6
y6'=-2*y5-y3-f(x)
Best wishes
Torsten.
0 Comments
More Answers (0)
See Also
Categories
Find more on Ordinary Differential Equations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!