fsolve no solution found results
Mostrar comentarios más antiguos
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.
Respuesta aceptada
Más respuestas (1)
Chunru
el 18 de Jul. de 2023
doc fsolve for more details.
[x, fval, exitflag, output] = fsolve() % check out exitflag and output
Categorías
Más información sobre Solver Outputs and Iterative Display en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!