MATLAB (6)
m=10kg, c=0.4Ns/m, k=4Nm(Mass-Spring-Damper System)
General solution, Natural response, Step response
1 | syms x y; |
General solution
1 | >> test |
subs plot
1 | subs_U=subs(U,x,0:0.01:10); |
pole
1 | pole(h) |
State-space equation
1 | [A,B,C,D]=tf2ss(num, den) |
TF by solve
1 | syms x y; |
1 | >> test |