levels_test


levels_test, a MATLAB code which calls levels(), which draws a contour plot of a function, using sampling to determine the appropriate contour levels.

Licensing:

The computer code and data files described and made available on this web page are distributed under the MIT license

Related Data and Programs:

levels, a MATLAB code which draws a contour plot of a function, using sampling to determine the appropriate contour levels.

Source Code:

BEALE is the Beale function.

BOHACH1 is the Bohachevsky function #1.

BOHACH2 is the Bohachevsky function #2.

GOLDSTEIN_PRICE is the Goldstein-Price function.

LOCAL is a badly scaled function with a local minimum. The local minimum is at roughly X=(0.285,0.279) with F(X)=5.92 while the global minimum is at roughly X=(-21.02,-36.76) with F(X)=0. Because of the nature of this function, minimization algorithms may have a very hard time.


Last revised on 14 February 2019.