procedure StateSpaceToZeroPole(const z: TVec; const p: TVec; out k: Double; const A: TMtx; const B: TVec; const C: TVec; const D: Double);
Convert transfer function from state-space to zero-pole form.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | z | TVec | |
| 2 | p | TVec | |
| 3 | k | Double | |
| 4 | A | TMtx | |
| 5 | B | TVec | |
| 6 | C | TVec | |
| 7 | D | Double |
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