I am confused with fsolve!

2 vues (au cours des 30 derniers jours)
Vasili Goca
Vasili Goca le 25 Mar 2015
Modifié(e) : Vasili Goca le 25 Mar 2015
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.

Réponses (0)

Catégories

En savoir plus sur Deep Learning Toolbox dans Help Center et File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by