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/07/02 07:10:54
![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](/uploads/image/z/993318-6-8.jpg?t=matlab%E5%A6%82%E4%BD%95%E8%A7%A3%E6%96%B9%E7%A8%8B%E7%BB%84syms+A+B+P%5BA%2CB%2CP%5D%3Dsolve%2812.56%2A%28A-311%29%3D-20.9%2A%28B-311%29%2CB%2F311%3DP%5E0.71%2C933%2AP%3DA%2A20%2BB%29%E7%BB%93%E6%9E%9C%E6%98%AF%E9%94%99%5BA%2CB%2CP%5D%3Dsolve%2812.56%2A%28A-311%29%3D-20.9%2A%28B-311%29%2CB%2F311%3DP%5E0.71%2C933%2AP%3DA%2A20%2BB%29Error%3AThe+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 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