Using Fminsearch to solve equation
13 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
MAROUANE ENNAGADI
le 15 Avr 2019
Commenté : Walter Roberson
le 3 Mai 2019
Hello,
I need your help to use fminsearch to solve this equation, I did not know how to solve it, because I'm a beginner in Matlab.

Best regard,
0 commentaires
Réponse acceptée
Walter Roberson
le 15 Avr 2019
Generally speaking,
f(x) = constant
can be solved by minimizing
(f(x) - constant)^2
This approach can be used with multiple variables.
The difficulty is in finding a starting point for the search. Different minimizers have different algorithms but in practice all of the local minimizer can get stuck in local minima. (Theory does say that Simulated Annealing will find the global minimum if given enough time but the time required might be many times the expected lifetime of the Universe)
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Econometrics Toolbox 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!