From: Vyjayanthi A on
Hi,

I am using fsolve to find the roots of the cubic equation.
I get results for almost 3/4th of thecalculations but for the last values I get the below error.
??? Error using ==> fzero at 334
Function value at starting guess must be finite and real.

How can I stop this error. I am giving real value as a guess.
Is there any function so that it can give me the same root(values) for the last calculations.

Can any one please help me.

Thank you
From: the cyclist on
"Vyjayanthi A" <vinzav(a)gmail.com> wrote in message <hntadp$mrk$1(a)fred.mathworks.com>...
> Hi,
>
> I am using fsolve to find the roots of the cubic equation.
> I get results for almost 3/4th of thecalculations but for the last values I get the below error.
> ??? Error using ==> fzero at 334
> Function value at starting guess must be finite and real.
>
> How can I stop this error. I am giving real value as a guess.
> Is there any function so that it can give me the same root(values) for the last calculations.
>
> Can any one please help me.
>
> Thank you

Is it possible for you to provide a snippet of code that exhibits the behavior? You haven't given us much to go on.

the cyclist
 | 
Pages: 1
Prev: textread
Next: strange rmdir error