From: Manuel on
Hello. Im using fzero to find a zero of a function wich is very large in nature.
My problem is that if I use the following

[x, feval] = fzero(@(x) f(x,L),[x0 x1])

then feval is big (in the order of 1e01), and no matter what options I choose, is always the same number.

I've also tried to use a secant method, which also turns up with the same error and stops due a division by zero. That obviously is because the method is working with finite decimal places.

I'm already using double precision, and I'm wondering if there is a way to improve my errors (i.e. working with more decimals).