Info

この質問は閉じられています。 編集または回答するには再度開いてください。

Solving a system of nonlinear equations

1 回表示 (過去 30 日間)
Kashif
Kashif 2015 年 1 月 16 日
コメント済み: John D'Errico 2015 年 1 月 16 日
In mathematica we use the command NSolve[{x^2 + y^3 == 1, 2 x + 3 y == 4}, {x, y}, Reals] without needing any initial guess to solve a system of non-linear equations. I need the same command in Matlab to solve system of non-linear equations BUT without needing the initial guess. In Matlab I used the following command syms x y [x,y] = vpasolve(x^2 + y^3 == 1, 2*x + 3*y == 4, x,y) I have used the above command but i am getting this error “Expression or statement is incorrect--possibly unbalanced (, {, or [. “ Can anyone suggest.
Thanks
  1 件のコメント
John D'Errico
John D'Errico 2015 年 1 月 16 日
You asked the same question before. Then you added a comment, where you posted a mess of stuff, with an error in it. Someone found the error there. So why ask this question a second time?

回答 (0 件)

この質問は閉じられています。

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by