2022-11-28
zeta=[1 0.8 0.6 0.4 0.2 0.1];
t=0:0.1:10;
for ii=1:6
sys=tf(1,[1 2*zeta(ii),1]);
[y(1:length(t),ii)]=step(sys,t);
end
plot(t,y);
figure;
mesh(y)
figure;
mesh(y')
figure;
mesh(zeta,t,y)
figure;
mesh(t,zeta,y')
figure;
surf(zeta,t,y)
shading interp
image.png
image.png
image.png
image.png
image.png
image.png
帮助是最好的学习材料:
image.png image.png
网友评论