Solve sixth-order ODE in matlab

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!

 采纳的回答

Torsten
Torsten 2014-12-2

0 个投票

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 个)

类别

Community Treasure Hunt

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

Start Hunting!

Translated by