MATLAB Answers

How to solve higher order nonlinear ode in matlab?

20 views (last 30 days)
priya anjali
priya anjali on 23 Jun 2020
Commented: priya anjali on 24 Jun 2020
I want to solve non linear higher order ode
6u_x^2+6uu_xx+12uu_x^2+6u^2 u_xx+u_xxxx+a^2 u_xx=0;
where a is constant not equal to zero.
There is no initial value given.

  5 Comments

Show 2 older comments
priya anjali
priya anjali on 23 Jun 2020
I made the following system of nonlinear odes:
Ameer Hamza
Ameer Hamza on 24 Jun 2020
Is the value of 'a' known or unknown? Are you trying to find a numerical solution or a symbolic solution?
priya anjali
priya anjali on 24 Jun 2020
It's unknown not equal to zero, both numerical and symbolic.

Sign in to comment.

Answers (1)

Ameer Hamza
Ameer Hamza on 23 Jun 2020
You need to convert the higher-order (say n-th order) ODE equation into a system of n first-order ODE equations. See this example: https://www.mathworks.com/help/matlab/ref/ode45.html#bu3uj8b

  0 Comments

Sign in to comment.

Tags

Products


Release

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by