image thumbnail
from Global Optimization on R by alain barraud
globalmin finds the global minimum of a function f(x) of a real variable x in a given interval.

maxifigure(hf,offset)
function maxifigure(hf,offset)
if nargin==1,offset=0;end
size_screen=get(0,'screensize');
tmp=get(hf,'units');set(hf,'units','pixel');
size_screen(2)=size_screen(2)+offset;
size_screen(4)=size_screen(4)-offset;
set(hf,'outerposition',size_screen);
set(hf,'units',tmp);

Contact us at files@mathworks.com