matlab语句问题[ψ,θ]=solve('v=(Q*a)/m*cos(ψ)-u/r^2*sin(θ)','A=(Q*a)/(m*v)*sin(ψ)+(v/r-u/(r^2*v)*cos(θ)','R=v*sin(A)','B=v*cos(ψ)/r','Q=-7500/2940','v=1700','m=2400','r=1752','u=1.633','θ','ψ') [ψ,θ]=solve('v=(Q*a)/m*cos(ψ)-u/r^2*sin(

来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/28 16:13:53
matlab语句问题[ψ,θ]=solve(''v=(Q*a)/m*cos(ψ)-u/r^2*sin(θ)'',''A=(Q*a)/(m*v)*sin(ψ)+(v/r-u/(r^2*v)*cos(θ)'',''

matlab语句问题[ψ,θ]=solve('v=(Q*a)/m*cos(ψ)-u/r^2*sin(θ)','A=(Q*a)/(m*v)*sin(ψ)+(v/r-u/(r^2*v)*cos(θ)','R=v*sin(A)','B=v*cos(ψ)/r','Q=-7500/2940','v=1700','m=2400','r=1752','u=1.633','θ','ψ') [ψ,θ]=solve('v=(Q*a)/m*cos(ψ)-u/r^2*sin(
matlab语句问题
[ψ,θ]=solve('v=(Q*a)/m*cos(ψ)-u/r^2*sin(θ)','A=(Q*a)/(m*v)*sin(ψ)+(v/r-u/(r^2*v)*cos(θ)','R=v*sin(A)','B=v*cos(ψ)/r','Q=-7500/2940','v=1700','m=2400','r=1752','u=1.633','θ','ψ')
[ψ,θ]=solve('v=(Q*a)/m*cos(ψ)-u/r^2*sin(θ)','A=(Q*a)/(m*v)*sin(ψ)+(v/r-u/(r^2*v)*cos(θ)','R=v*sin(A)','B=v*cos(ψ)/r','Q=-7500/2940','v=1700','m=2400','r=1752','u=1.633','θ','ψ')
|
Error: The input character is not valid in MATLAB statements or expressions.

请问这个语句中有哪个不对?
第一,二行的语句和第三,四行一样.
我只是想解一个方程组,求出θ和ψ.

matlab语句问题[ψ,θ]=solve('v=(Q*a)/m*cos(ψ)-u/r^2*sin(θ)','A=(Q*a)/(m*v)*sin(ψ)+(v/r-u/(r^2*v)*cos(θ)','R=v*sin(A)','B=v*cos(ψ)/r','Q=-7500/2940','v=1700','m=2400','r=1752','u=1.633','θ','ψ') [ψ,θ]=solve('v=(Q*a)/m*cos(ψ)-u/r^2*sin(
if P_T(k,2)-P_T(i,2)>Tr1 |P_T(k,2)-P_T(i,2)>Tr1这句中你写的后半部分和前边一样 啊,不应该是if P_T(k,2)-P_T(i,2)>Tr1 |P_T(i,2)-P_T(k,2)>Tr1么?
这样可以么?