<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hello,</p>
<p>As y is your unknown, you have interverted x and y in the
arguments list of Hxy function (y is the unknown and x the
parameter) :<br>
</p>
<p>function val = Hxy(y,x)<br>
val=(1.25*y-sqrt(abs(x))).^2+x.^2-1; // switched .^ to ^ to
handle vectors<br>
endfunction;<br>
</p>
will dot it.<br>
<br>
S.<br>
<br>
<div class="moz-cite-prefix">Le 07/12/2017 à 18:29, Hermes a écrit :<br>
</div>
<blockquote cite="mid:1512667780719-0.post@n3.nabble.com"
type="cite">
<pre wrap="">function val = Hxy(x,y)
val=(1.25*y-sqrt(abs(x))).^2+x.^2-1; // switched .^ to ^ to handle
vectors
endfunction;
x=0.0;
yint1=fsolve(1,list(Hxy,x))//// ---> (25/16)*y<sup class="moz-txt-sup"><span style="display:inline-block;width:0;height:0;overflow:hidden">^</span>2</sup>-1
disp(yint1)
yint2=fsolve(-1,list(Hxy,x))
disp(yint2)</pre>
</blockquote>
<br>
</body>
</html>