I have a problem with solve command

1 vue (au cours des 30 derniers jours)
Sharafat Ali
Sharafat Ali le 24 Jan 2023
Commenté : Sharafat Ali le 24 Jan 2023
>> 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'.

Réponse acceptée

Kevin Holly
Kevin Holly le 24 Jan 2023
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 commentaire
Sharafat Ali
Sharafat Ali le 24 Jan 2023
Thanks for your kindness Kevin Holly

Connectez-vous pour commenter.

Plus de réponses (1)

Torsten
Torsten le 24 Jan 2023
syms x y
[x y] = solve([3*x-y==2,x+y==1])
x = 
y = 

Catégories

En savoir plus sur Formula Manipulation and Simplification dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by