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