ex9_9.m

来自「基于WEB与MATLAB编写的信号处理的源码,书名为"应用WEB和MATLAB的」· M 代码 · 共 11 行

M
11
字号
%  Example 9.9
% second order response
%  real poles
t = 0:.01:8;
p1 = -1; p2 = -2;
num = 2; den = [1 3 2];
y = step(num,den,t);
plot(t,y);
xlabel('Time (sec)')
ylabel('y(t)')
title('Second order step response: p1 = -1 and p2 = -2')

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?