I am confused with fsolve!

1 回表示 (過去 30 日間)
Vasili Goca
Vasili Goca 2015 年 3 月 25 日
編集済み: Vasili Goca 2015 年 3 月 25 日
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 件)

カテゴリ

Help Center および File ExchangeDeep Learning Toolbox についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by