matlab程序调试求助
??? Error: File: springdampmass.m Line: 78 Column: 29The expression to the left of the equals sign is not a valid target for an assignment.
Error in ==> funfun\private\odearguments at 110
f0 = feval(ode,t0,y0,args{:}); % ODE15I sets args{1} to yp0.
Error in ==> ode45 at 171
Error in ==> Singledegree at 3
=ode45(@springdampmass,,y0);
请各位帮忙看看,谢谢!
另
这么写对吗?
Fm=@u*m*9.8.*(Y(2)~=0|| Y(2)=0&&abs(k*Y(1)-alpha*Y(3)- Dp)>fmax)+...
.* (Y(2)=0&abs(k*Y(1)-alpha*Y(3)- Dp)<=fmax)
Dp*Ap是fg,k*Y(1)是k*x,alpha*Y(3)是fe
顶一下。。。。。。。。。。。。。。。。。
页:
[1]