User`s guide

Table Of Contents
lsim
11-132
The two responses look quit e different. T o clarify this discrepancy,
superimposethetwoplotsby
lsim(h,'b--',hd,'r-',u,t)
The cause is now obvious: hd is undersampled and its response (solid line)
masks the intersample osci llations of the continuous model .
By comparing the suggested sampling
dt=t(2)–t(1) against the system
dynamics,
lsim detects such undersampling and resamples the input to
produce accura te continuous-time simulat ions.
See Also gensig Generate test input signals for lsim
impulse Impulse response
initial Free response to initial condition
ltiview LTIsystemviewer
step Step response
Hs
()