procedure TransferFunToStateSpace(const A: TMtx; const B: TVec; const C: TVec; out D: Double; const Num: TVec; const Den: TVec);
Convert transfer function from numerator-denominator to state-space form.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | A | TMtx | |
| 2 | B | TVec | |
| 3 | C | TVec | |
| 4 | D | Double | |
| 5 | Num | TVec | |
| 6 | Den | TVec |
Result: stored in self (calling object)
Remarks:
Convert transfer function in form of a numerator Num and denominator Num in to its state space presentation of the real valued A matrix, B,C vectors and D value. 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