Hi Hermes,


Very confusing problem formulation...

To find solutions of Hxy(x,y) with fsolve along the x=0 slice, it might be 
easier to use a sliced function H0y as input:



clear all;



function val=Hxy(x, y)

    val=(1.25*y-sqrt(abs(x))).^2+x.^2-1;

endfunction;



function z=H0y(y)   // slice of Hxy along x=0

    x=0;

    z= Hxy(x, y);

endfunction;



y1=fsolve(1,H0y);

disp(y1)

y2=fsolve(-1,H0y);

disp(y2)



    0.8



  - 0.8



Regards,

Rafael
_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users

Reply via email to