MATLAB CONTROL SYSTEM TOOLBOX 9 Specifications Page 468

  • Download
  • Add to my manuals
  • Print
  • Page
    / 591
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 467
lsim
16-128
w2 = 62.83^2
h = tf(w2,[1 2 w2])
t = 0:0.1:5; % vector of time samples
u = (rem(t,1)>=0.5); % square wave values
lsim(h,u,t)
lsim
evaluates the specified sample time, gives this warning
Warning: Input signal is undersampled. Sample every 0.016 sec or
faster.
and produces this plot.
To improve onthis response,discretize using therecommendedsampling
period:
dt=0.016;
ts=0:dt:5;
us = (rem(ts,1)>=0.5)
hd = c2d(h,dt)
Hs
()
Page view 467
1 2 ... 463 464 465 466 467 468 469 470 471 472 473 ... 590 591

Comments to this Manuals

No comments