Quantcast
Channel: MATLAB Central Newsreader - tag:"optimization"
Viewing all articles
Browse latest Browse all 130

Solving ODE with constraints

$
0
0
Hello to all,

I am trying to numerically solve an ODE inequality of the form :
y(x)" + a(x)*y(x)' + b(x)*y(x) <= 0
Where a(x) and b(x) are spatially varying parameters.
In my solution, y(x) must be > 0 for all x, and the inequality must hold as well.

Solving odes with matlab is quite straight forward; I can in fact solve y(x)" + a(x)*y(x)' + b(x)*y(x) = 0. However, it's the two above conditions that I am not sure how to enforce.

Could a toolbox like YALMIP help? I went through the available online tutorials but I did not find something that fits my case.

I thank you in advance

Firas

Viewing all articles
Browse latest Browse all 130

Latest Images

Trending Articles



Latest Images