I'm trying to find the intersection points of two circles using fsolve. Currently I'm using this code but the fsolve command doesn't reach a conclusion, probably because I'm not choosing a good initial guess.
function F = myfun1( X) x= X(1) y = X(2) F=[(x-1).^2 +(y-2).^2 - 1.5^2 ; (x-3).^2 +(y-2.5).^2 - 1^2 ; ]; end
And I'm calling it by using:
xo = [0,0];X= fsolve (@myfun1,xo,options)
fsolve stops iterating because "last step was ineffective"
thanks in advance for any help provided
Best Answer