Azzera filtri
Azzera filtri

I cannot understand the fsolve output , and how to proceed

1 visualizzazione (ultimi 30 giorni)
Hi
I am using the fsolve, and the output is the following
No solution found.
fsolve stopped because the size of the current step is less than the default value of the step size tolerance, but the vector of function values is not near zero as measured by the selected value of the function tolerance.
ans =
0.1317
It says that there is no solution in one hand, but the it gives the 0.1317 value on the other... i cannot make sense what is going on ! Can you please advice on this ? Many thanks
Safis

Risposte (1)

Walter Roberson
Walter Roberson il 4 Lug 2013
It gave the best answer it was able to find. But you had given limits on how far to look to find a good answer, and it had hit one of those limits, but it recognizes that what it was able to find is not a good solution.
You can ask it to look further by creating an options structure that gives a smaller allowed step size. But you would be advised to plot the function in the area near the answer it gave back and see visually what kind of difficulty is in the region.

Categorie

Scopri di più su Time Series Events in Help Center e File Exchange

Tag

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by