Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
The MATLAB Control Toolbox can be used to create LTI objects. These objectives can then easily be converted to other forms. Conversion from continuous to discrete is particularly useful when implementing a digital control algorithm. The commands used include the following:
sys = ss(a,b,c,d) % state space form sys = tf(num,den) % transfer function form sys = zpk(z,p,k) % zero-pole-gain form sysd = filt(num,den,Ts) % backward shift form sysd = c2d(sys,Ts,'zoh' % continuous to discrete sys = d2c(sysd,'zoh') % discrete to continuous pi = pole(sys) % poles zi = tzero(sys) % zeros [y,t] = step(sys) % step response [y,t] = impulse(sys) % impulse response