Hi,I am trying to solve for x in a equation using fsolve. Below is the code and equation:
a = 0.1886;b = 0.6886;c = 1.1886;m = 0.31372;x0 = 0.1;F = @(x)[(((x-a)/(x-c))^(m))+((x-a)/(x-b))];options = optimset('Display','iter','MaxFunEvals',1e20,'TolFun',2e-50,'TolX',2e-50);[xd, fval, exitflag, output]= fsolve(F, x0, options)
However, I am getting 'No solution found' with a message: fsolve stopped because the problem appears to be locally singular. I have tried changing the options parameters and initial guess still getting same output. Any help is appreciated.
Thanks, KB
Best Answer