convexchecker
by Bapi Chatterjee
25 Feb 2009
(Updated 13 Mar 2009)
It checks real valued multidimensional function, whether it is convex.
|
Watch this File
|
| File Information |
| Description |
This script may be easily converted to a function which could be an extremely useful subroutine in optimization problems to check whether the objective function is globally convex. It may also be used to derive the expressions for gradient and Hessian of the given multidimensional real valued function along with giving their values at the point entered. It uses Sylvester's criterion to check positive definiteness of the Hessian, as it checks whether all the principal minors of the Hessian are positive. |
| Required Products |
Symbolic Math Toolbox
|
| MATLAB release |
MATLAB 7 (R14)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (2) |
| 25 Feb 2009 |
Petter
|
|
|
| 26 Feb 2009 |
us
|
|
|
| Updates |
| 26 Feb 2009 |
Actually there were no problems as such in the code except perhaps no help description was written. Now a good help description has been written. Also robust error checks have been added. |
| 26 Feb 2009 |
A very small mistake was rectified. |
| 13 Mar 2009 |
A small error was rectified |
|
Contact us at files@mathworks.com