MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   MATLAB论坛 (https://www.labfans.com/bbs/forumdisplay.php?f=6)
-   -   [MATLAB基础] 【求助】lsim函数 (https://www.labfans.com/bbs/showthread.php?t=7761)

zyl19840721 2009-04-17 12:23

【求助】lsim函数
 
我想知道lsim这个函数的一些介绍,
看到的朋友如果要知道,请教教我!!!
我在这里表示感谢!!!!

laosam280 2009-04-19 18:10

回复: 【求助】lsim函数
 
线性时不变 (LTI) 连续时间系统用常系数线性微分方程进行描述,系统的零状态响应就是在系统初始状态为零条件下微分方程的解。MATLAB控制系统工具箱提供了一个lsim函数来求解连续时间系统的零状态响应。这里有个实例:
a = [1 4 4];
b = [1 3];
sys = tf(b, a);
td = 0.01;
t = 0 : td : 10;
f = exp(-t);
y = lsim(sys, f, t);
plot(t, y);
xlabel('t(sec)');
ylabel('y(t)');
grid on


所有时间均为北京时间。现在的时间是 06:12

Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.