CVX: Matlab Software for
Disciplined Convex Programming

Version 1.2 (February 2009, Build 711)
Michael Grant, Stephen Boyd, Yinyu Ye

Example library

Each of the examples listed in the tree below links to a dedicated page that includes the full source code, followed by a listing of the output generated by MATLAB when that code is run. Entries listed as “utilities” are functions used to support the examples that precede them, and are not given dedicated pages. Clicking on the corresponding “(.m)” link after each title retrieves just the source code itself.

Of course, to run any examples yourself, you will need to have CVX installed; so if necessary, please proceed to the CVX download page to get it. The package includes a complete copy of these examples—including this web page, which can then be browsed off-line.

These examples are public domain. You are free to use them in any way you wish; but when you do, we request that you give appropriate credit to the authors. A number of people have contributed to the examples in this library, including Lieven Vandenberghe, Joƫlle Skaf, Argyris Zymnis, Almir Mutapcic, Michael Grant, and Stephen Boyd.

The list below is dynamic. Clicking on the plusminus icons will expand/collapse directories to reveal/hide their contents.
Expand all   Collapse all