LinearSystems.TransferFunToStateSpace Method

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.

#NameTypeDescription
1ATMtxsource TMtx
2BTVecsource TVec
3CTVecsource TVec
4DDouble (ref)output
5NumTVecsource TVec
6DenTVecsource 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
See Also: LinearSystems.ZeroPoleToStateSpace, LinearSystems.StateSpaceToTransferFun, LinearSystems.StateSpaceToZeroPole