fsolve no solution found results
Mostra commenti meno recenti
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.
Risposta accettata
Più risposte (1)
Chunru
il 18 Lug 2023
doc fsolve for more details.
[x, fval, exitflag, output] = fsolve() % check out exitflag and output
Categorie
Scopri di più su Solver Outputs and Iterative Display in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!