fsolve no solution found results
Show older comments
Hello,
I wanted to ask what does fsolve do after no solution has been found and it stops interating? Is the output the last iteration or does it output the initial conditions?
Also, is there a way when no solution has been found to tell it to output nothing, or for example an array of zeros?
Kind regards.
Accepted Answer
More Answers (1)
Chunru
on 18 Jul 2023
doc fsolve for more details.
[x, fval, exitflag, output] = fsolve() % check out exitflag and output
Categories
Find more on Solver Outputs and Iterative Display in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!