matlab如何解方程组
来源:百度知道 编辑:UC知道 时间:2024/05/17 08:38:45
syms A B P
[A,B,P]=
solve(12.56*(A-311)=-20.9*(B-311),B/311=P^0.71,933*P=A*20+B)
结果是错
??? [A,B,P]=solve(12.56*(A-311)=-20.9*(B-311),B/311=P^0.71,933*P=A*20+B)
Error: The expression to the left of the equals sign is not a valid target for an assignment.
请高人指点
[A,B,P]=
solve(12.56*(A-311)=-20.9*(B-311),B/311=P^0.71,933*P=A*20+B)
结果是错
??? [A,B,P]=solve(12.56*(A-311)=-20.9*(B-311),B/311=P^0.71,933*P=A*20+B)
Error: The expression to the left of the equals sign is not a valid target for an assignment.
请高人指点
加单引号
>> [A,B,P]= solve('12.56*(A-311)=-20.9*(B-311)','B/311=P^0.71','933*P=A*20+B')
A =
58.505380691632510208368024800025
B =
462.73839323029165893698074681874
P =
1.7501029014608165735309123717248