Ch Control System Toolkit Demos
Example 9 -- Model Conversion from Zero-Pole-Gain to State Space and Transfer Function

Create the system with given zeros, poles, and gain:

   zeros = -0.05 + 2.738156i, -0.05 - 2.738156i, -2.0
   poles = -1.787086 + 2.213723i, -1.797086 - 2.213723i,
           -0.262914 - 2.703862i
       k = 4

Answer: The system matrices are

[-4.12 -17.4 -30.8 -60] [1] A = [1 0 0 0 ], B = [0], C = [4 8.4 30.78 60], D = 0 [0 1 0 0 ] [0] [0 0 1 0 ] [0] The transfer function of the system is 4*s^3 + 8.4*s^2 + 30.8*s + 60 --------------------------------------- s^4 + 4.12*s^3 + 17.4*s^2 + 30.8*s + 60

Program in Ch
Output in Ch
Program in MATLAB