>> 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'.

 Akzeptierte Antwort

Kevin Holly
Kevin Holly am 24 Jan. 2023

0 Stimmen

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 = 

Weitere Antworten (1)

Torsten
Torsten am 24 Jan. 2023

0 Stimmen

syms x y
[x y] = solve([3*x-y==2,x+y==1])
x = 
y = 

Kategorien

Mehr zu Symbolic Math Toolbox finden Sie in Hilfe-Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by