How to plot those ineq in matlab
Mostrar comentarios más antiguos
hy, i have to find the feaseble place for any given system of inequalities.
Respuestas (1)
One way is to use lcon2vert downloadable from here,
A=[-3 -2;1 -1; -1/5 1]; b=[-6;1;1];
V=lcon2vert(A,b);
plot(polyshape(V))

2 comentarios
dorel blasciuc
el 6 de En. de 2020
Matt J
el 6 de En. de 2020
I don’t think it’s possible. Finding the feasible region of general inequalities is nontrivial...
Categorías
Más información sobre Polygons en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!