Non-Linear Coupled First-Order ODEs (with multiple derivative terms in each equation).

I have looked extensively, and was not able to solve a system like this on Matlba. All this while, I have used Mathematica to solve this system of ODEs.
+ = 0
+ G + = 0
G - - = 0
, and ξ are known functions. G is a constant. I am aiming to solve for .
The inlet B.C.s can be m1,m2 and m3 (any numeric value). I want to solve this with ODE45 or a similar built in solver.

 Accepted Answer

These ode's can be rearranged as follows:
As long as you know initial values for a, b and c, then given that you know everything else on the right-hand side of these equations, you can use ode45 to solve them.

1 Comment

This is awesome. Never thought of the algebra to represent the equations this way. Thanks a lot.

Sign in to comment.

More Answers (0)

Products

Release

R2020a

Community Treasure Hunt

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

Start Hunting!