fsolve no solution found results
显示 更早的评论
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.
采纳的回答
更多回答(1 个)
Chunru
2023-7-18
doc fsolve for more details.
[x, fval, exitflag, output] = fsolve() % check out exitflag and output
类别
在 帮助中心 和 File Exchange 中查找有关 Solver Outputs and Iterative Display 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!