define a stopper in f-solve loop
显示 更早的评论
hello my dear friends I want to solve a nonlinear equation by F-solve, in which a variable will changed in each loop, but I want to stop the iterative process when the answer of F-solve will be " equation solved, but inaccuracy is possible" or " no solution found", and print the last solution. what should I do exactly? could you please help me Thank you!
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Optimization Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!