p=path;
path(p,'/l/genmex');
genmex
alkuarvaus(1) = -2.7   ;
alkuarvaus(2) = -0.4   ;
alkuarvaus(3) = 2.4   ;
[xn,fvecn]=c05nbf('c05fun',alkuarvaus);
[xp,fvecp]=c05pbf('c05fj',alkuarvaus);
save /usr/tmp/kenny/c05/xn.out xn -ascii;
save /usr/tmp/kenny/c05/xp.out xp -ascii;
save /usr/tmp/kenny/c05/fvecn.out fvecn -ascii;
save /usr/tmp/kenny/c05/fvecp.out fvecp -ascii;
quit
