procedure StateSpaceToTransferFun(const Num: TVec; const Den: TVec; const A: TMtx; const B: TVec; const C: TVec; const D: Double);
Convert transfer function from state-space to numerator-denominator form.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Num | TVec | |
| 2 | Den | TVec | |
| 3 | A | TMtx | |
| 4 | B | TVec | |
| 5 | C | TVec | |
| 6 | 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 numerator Num and denominator Den form. State space system is related to its numerator/denominator representation via the following relation:
H(s) = num(s)/den(s) = C (sI-A)^(-1)B + D dx/dt = Ax + Bu, y = Cx + Du
x - system input y - system output