0
我不知道我怎麼能解決這個方程與MATLAB:非線性方程MATLAB
F(1)= 0.098253 * X(1)-atan((TAN(X(1)) - 譚( x(2)))/ 2)* 0.531268-0.433015 * x(2)-0.27994
f(2)= 0.9951 * x(1) - 坦((tan(x(1)) - tan(x (2)))/ 2)* 0.12909 + 0.866022 * X(2)-0.350005;
我嘗試函數= f,然後[x,eval,flag] = fsolve('ecuaciones',x0);但我有一個錯誤:
錯誤==> fsolve at 254 fuser = feval(funfcn {3},x,varargin {:});
引起: 初始用戶提供的目標函數評估失敗。 FSOLVE 無法繼續。
和Matlab對我說這是雙重型......但我不知道如何解決!我是新的使用Matlab,因此我需要清楚的答案!
謝謝!
首先你有什麼解決的呢?我把它解決爲x(1)和x(2) –
你想解決'f(2)-f(1)= 0'嗎? – randomatlabuser
你用什麼'x0'? Andd究竟是什麼'ecuaciones'功能?真正的代碼智者感謝。 – horchler