Code covered by the BSD License  

Highlights from
INTSOLVER: An interval based solver for Global Optimization

from INTSOLVER: An interval based solver for Global Optimization by Tiago Montanher
Interval based functions to solve small global optimization problems with guaranteed bounds.

evmichalewicz(x)
function y = evmichalewicz(x)

% Name: Michalewicz
% Reference:
% Michalewicz, Z.: Genetic Algorithms + Data Structures = Evolution 
% Programs. Berlin, Heidelberg, New York: Springer-Verlag, 1992.
% Variables: n
% Initial Point/ Initial Interval: (5,....,5) / ([-10,10],...,[-10,10])
% Matlab Code by A. Hedar (Nov. 23, 2005).

n = length(x);
m = 10;
s = 0;
for i = 1:n;
    s = s+sin(x(i))*(sin(i*x(i)^2/pi))^(2*m);
end
y = -s;

Contact us at files@mathworks.com