void TransferFunToStateSpace(TMtx A, TVec B, TVec C, ref Double D, TVec Num, TVec Den)
Convert transfer function from numerator-denominator to state-space form.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | A | TMtx | source TMtx |
| 2 | B | TVec | source TVec |
| 3 | C | TVec | source TVec |
| 4 | D | Double (ref) | output |
| 5 | Num | TVec | source TVec |
| 6 | Den | TVec | source 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