Gen2nd:
-------------------------------------------------------------------------------
Creates a second order transfer function
s^2/wz^2 + 2 zz s/wz + 1
K(s) = ------------------------
s^2/wp^2 + 2 zp s/wp + 1
-------------------------------------------------------------------------------
Form:
[a, b, c, d] = Gen2nd( zz, wz, zp, wp, tSamp, sType )
-------------------------------------------------------------------------------
------
Inputs
------
zz Damping ratio of the zero pair
wz Undamped natural frequency of the zero pair
zp Damping ratio of the pole pair
wp Undamped natural frequency of the pole pair
tSamp Sampling frequency
sType State equation type ('Delta' or 'Z')
-------
Outputs
-------
a Plant matrix
b Input matrix
c Measurement matrix
d Feedthrough matrix
-------------------------------------------------------------------------------
Children:
Common: Control/C2DZOH
Common: Control/C2DelZOH
Common: Control/FResp
Common: Control/ND2SS