equivalent of fsolve in MATLAB
29 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi,
I need to solve a non-linear problem, but I don't have the toolbox optimisation. Can you help find an other way??
Thanks
Réponses (2)
Alan Weiss
le 4 Sep 2015
It depends on how many variables you have. If you have one unknown in a nonlinear function, you can use fzero. If you have more than one unknown, then you can try fminsearch on the sum of squares of your function values. But this might fail. Try starting at a variety of points to have a better chance of finding a solution.
Good luck,
Alan Weiss
MATLAB mathematical toolbox documentation
0 commentaires
Voir également
Catégories
En savoir plus sur Solver Outputs and Iterative Display dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!