I am confused with fsolve!
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hello,
It seems simple for you but I am confused with fsolve! Please provide a solution to my question.
I am looking for a and b?
F = @(a, b) [2*a - b - exp(-a); -a + 2*b - exp(-b)];
ans=fsolve(F,[0,0])
By substituting a and b with x(1) and x(2) everything is okay, but I dont want to this. What should I add to my code?
Regards, V.G.
0 commentaires
Réponses (0)
Voir également
Catégories
En savoir plus sur Deep Learning 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!