matlab解二元一次方程
来源:百度知道 编辑:UC知道 时间:2024/06/05 20:44:38
[x,y]=solve ('0.99820050*(1+80.01*x+80.01^2*y)=(1+75.9*x+75.9^2*y)','0.998005982*(1+99.99*x+99.99^2*y)=(1+95.6*x+95.6^2*y),'x,y')
Error: Unexpected MATLAB expression.
谁能帮我告诉我为什么错了
Error: Unexpected MATLAB expression.
谁能帮我告诉我为什么错了
少了一个单引号。
>> [x,y]=solve ('0.99820050*(1+80.01*x+80.01^2*y)=(1+75.9*x+75.9^2*y)','0.998005982*(1+99.99*x+99.99^2*y)=(1+95.6*x+95.6^2*y)','x,y')
x =
.36918070920129827804219245770105e-3
y =
.53287294698475924537841207316834e-6
[x,y]=solve ('0.99820050*(1+80.01*x+80.01^2*y)=(1+75.9*x+75.9^2*y)','0.998005982*(1+99.99*x+99.99^2*y)=(1+95.6*x+95.6^2*y)','x,y')
这样就对了