MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide Page 520

  • Download
  • Add to my manuals
  • Print
  • Page
    / 649
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 519
lsim
11-130
To illustrate why resampling is sometimes necessary, consider the
second-order model
Tosimulateits responsetoasquarewavewithperiod1 second,youcanproceed
as follows:
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)
Hs()
ω
2
s
2
2s ω
2
++
-------------------------------
,= ω 62.83=
Page view 519
1 2 ... 515 516 517 518 519 520 521 522 523 524 525 ... 648 649

Comments to this Manuals

No comments