如何用matlab解二元方程
问题描述:
如何用matlab解二元方程
[x,y]=solve('1351.565-14.85*13-379.25*x-1.025*y.^2-27.25*y = 0','222.5-2.7*13-27.75*x-0.45*y.^2-2.05*x*y-0.36*13*y=0','x','y')
Error using ==> solve>getEqns at 182
' 1351.565-14.85*13-379.25*x-1.025*y.^2-27.25*y = 0 ' is not a valid expression or equation.
Error in ==> solve at 67
[eqns,vars] = getEqns(varargin{:});
什么情况啊?在线等————————————————
答
[x,y]=solve()表达式里多了个点符号'.',去掉就可以了.即
[x,y]=solve('1351.565-14.85*13-379.25*x-1.025*y^2-27.25*y=0','222.5-2.7*13-27.75*x-0.45*y^2-2.05*x*y-0.36*13*y=0','x','y')