> 英语 >
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.
人气:448 ℃ 时间:2020-02-06 03:28:06
解答
加单引号
>> [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
推荐
猜你喜欢
© 2024 79432.Com All Rights Reserved.
电脑版|手机版