I am confused with fsolve!

1 visualizzazione (ultimi 30 giorni)
Vasili Goca
Vasili Goca il 25 Mar 2015
Modificato: Vasili Goca il 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.

Risposte (0)

Categorie

Scopri di più su Deep Learning Toolbox in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by