x0 = [ 0; 0 ];  % initial value
[xmin, fmin] = fminsearch(@Rosenbrock,x0);
xmin
fmin
