void TransferFunToStateSpace(TMtx *A, TVec *B, TVec *C, double &D, TVec *Num, TVec *Den);
Convert transfer function from numerator-denominator to state-space form.
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
Declared in Dew::Signal::Units::LinearSystems · Dew.Signal/Units.LinearSystems.h · Cross-compiler