绘制典型二阶系统的单位阶跃响应曲线
t=[0:0.1:12];
c=[];
xi=[0:0.1:2];
for i=1:11
num=[1];den=[1 2*xi(i) 1];
[c x t]=step(num,den,t);
plot(t,c,‘-’);hold on;
end
xlabel(‘\omega_nt’),ylabel(‘h(t)’);
grid on;
绘制典型二阶系统的单位阶跃响应曲线
于 2022-12-25 07:49:11 首次发布
绘制典型二阶系统的单位阶跃响应曲线
t=[0:0.1:12];
c=[];
xi=[0:0.1:2];
for i=1:11
num=[1];den=[1 2*xi(i) 1];
[c x t]=step(num,den,t);
plot(t,c,‘-’);hold on;
end
xlabel(‘\omega_nt’),ylabel(‘h(t)’);
grid on;