|
EDA365欢迎您登录!
您需要 登录 才可以下载或查看,没有帐号?注册
x
syms s t;/ e' ?" r) R3 e& f
h = exp(-t) + exp(-2 * t);$ u$ I" ^. m. S+ u# ^* Q; q6 |
hs = laplace(h);
% A6 D! t5 p, s( Jt = 0: 0.01:10;3 g/ z4 A- q( n, t. f* D
f = exp(-t);
6 R- f6 A9 k* g# d2 yy2 = lsim(hs,f,t);
, g s. G! B# L o# Wfigure(2);- M% v& \7 G+ B T; D
plot(y2);' a, N5 S& M. H6 e0 ^3 ^
4 h& D: }# A0 g4 |" g5 _: q( m3 F
$ W) s6 z2 L1 s9 p0 o% F
错误使用 lsim (line 88)
. G0 E6 l1 y5 [+ _$ M0 \$ _输入参数的数目不足。
5 q" |& i; V8 M2 v& W出错 XH_3_2 (line 15)1 q( H' o/ R. Q" l+ d
y2 = lsim(hs,f,t);( V8 G n8 E2 d, C
|
|