matlab如何解方程组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 t
来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/17 20:19:38
matlab如何解方程组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 t
matlab如何解方程组
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.
matlab如何解方程组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 t
加单引号
>> [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