Approximating an Elliptical Region with Linear Constraints

版本 1.0.0.0 (214.4 KB) 作者: Daniel R. Herber
Tunable number of linear constraints to approximate an convex elliptical region.
202.0 次下载
更新时间 2016/4/12

查看许可证

This submission allows a 5 parameter elliptical region to be approximated with a tunable number of linear constraints. The convex region defined by the linear constraints is inside the convex region defined by the original elliptical region. Two plotting functions are available to visualize the approximation along with the corresponding error in the area.
An example optimization problem with a quadratic objective function is provided to demonstrate that the nonlinear constraint can be approximated as a linear constraint (and therefore use quadprog instead of fmincon). The validity of this constraint approximation depends on the problem.

Please see the function vert2lcon for a more general implementation of the included vertxy2lcon
http://www.mathworks.com/matlabcentral/fileexchange/30892

引用格式

Daniel R. Herber (2024). Approximating an Elliptical Region with Linear Constraints (https://www.mathworks.com/matlabcentral/fileexchange/56519-approximating-an-elliptical-region-with-linear-constraints), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2016a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Quadratic Programming and Cone Programming 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0