MATLAB: I need to helpe to solve this equation x-y=12, 0
@yuiioMATLAB
I need to helpe to solve this equation by matlab x-y=12, 0<x<22, 0<y<100
Best Answer
As I said, there are infinitely many solutions.
As well, it is often the case that the solution set of a system of inequalities is a rather complicated region. For the simple problem you have posed, this seems to work.
There is no general solution to such a problem. A common way is to specify several starting points for the numerical solver and find the unique solutions.
Best Answer