I have a problem with solve command

1 回表示 (過去 30 日間)
Sharafat Ali
Sharafat Ali 2023 年 1 月 24 日
コメント済み: Sharafat Ali 2023 年 1 月 24 日
>> syms x
>> syms y
>> syms z
>> [x,y]=solve('3*x-y=2','x+y=1')
Check for incorrect argument data type or missing argument in call to function 'solve'.
>> [x y]=solve('3*x-y=2','x+y=1')
Check for incorrect argument data type or missing argument in call to function 'solve'.

採用された回答

Kevin Holly
Kevin Holly 2023 年 1 月 24 日
The format you are using is no longer supported. Please see documentation for solve.
syms x
syms y
syms z
[x,y]=solve(3.*x-y==2,x+y==1)
x = 
y = 
  1 件のコメント
Sharafat Ali
Sharafat Ali 2023 年 1 月 24 日
Thanks for your kindness Kevin Holly

サインインしてコメントする。

その他の回答 (1 件)

Torsten
Torsten 2023 年 1 月 24 日
syms x y
[x y] = solve([3*x-y==2,x+y==1])
x = 
y = 
  1 件のコメント
Sharafat Ali
Sharafat Ali 2023 年 1 月 24 日
Thanks Torsten

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeFormula Manipulation and Simplification についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by