Solve system of differential equations with embedded non differential equation
Show older comments
I have a system of 5 differential equations that I want to solve. The problem is that 2 of these equations contain a value alpha that depends on the solution of dX(1) and dX(3) as followed:
alpha=atan(X(3)/X(1));
As you can see this is not a differential equation, so my question is: How can I solve this problem, if my system of equations depends on alpha and alpha depends on the solution of these equations.
Alpha isn't implied in the attached code yet, because I don't know where and how.
Thanks for your help.
3 Comments
madhan ravi
on 5 Jan 2019
can you upload the latex form of the equations?
Brendan Görres
on 5 Jan 2019
madhan ravi
on 5 Jan 2019
There is an option to insert equations in latex form in the insert option.
Accepted Answer
More Answers (0)
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!