void StateSpaceToZeroPole(TVec z, TVec p, ref Double k, TMtx A, TVec B, TVec C, Double D)
Convert transfer function from state-space to zero-pole form.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | z | TVec | source TVec |
| 2 | p | TVec | source TVec |
| 3 | k | Double (ref) | output |
| 4 | A | TMtx | source TMtx |
| 5 | B | TVec | source TVec |
| 6 | C | TVec | source TVec |
| 7 | D | Double | scalar |
Result: stored in self (calling object)
Remarks:
Convert a transfer function defined in state space presentation of the real valued A matrix, B,C vectors and D value. in to its zero-pole form with zeros Z, poles P and gain K. State space system is related to its numerator/denominator representation via the following relation: H(s) = num(s)/den(s) = K ((s-s_(z1))...(s-s_(zn)))/((s-s_(p1))...(s-s_(pn))) = C (sI-A)^(-1)B + D dx/dt = Ax + Bu, y = Cx + Du
x - system input y - system output szn - n'th zero spn - n'th pole K - system gain