convexchecker

It checks real valued multidimensional function, whether it is convex.

You are now following this Submission

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.

Cite As

Bapi Chatterjee (2026). convexchecker (https://www.mathworks.com/matlabcentral/fileexchange/23106-convexchecker), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.5.0.0

A small error was rectified

1.4.0.0

A very small mistake was rectified.

1.3.0.0

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.

1.0.0.0