void ZeroPoleToTransferFun(TVec *Num, TVec *Den, TVec *z, TVec *p, double k);
Convert transfer function from zero-pole to numerator-denominator form.
Remarks:
Convert a rational polynomial defined with zeros Z and poles P and gain K in to its numerator Num and denominator Den form. The numerator will be scaled by K and both polynomials are assumed to have only real coefficents. (Poles and zeros can still be complex, if they have complex conjugated pairs.)
num(s) (s-sz1)*...*(s-szn)
H(s) = -------- = K*-------------------
den(s) (s-sp1)*...*(s-spn)
szn - n'th zero
spn - n'th pole
K - system gainSee Also: LinearSystems::ZeroPoleToStateSpace, LinearSystems::StateSpaceToTransferFun, LinearSystems::StateSpaceToZeroPole, LinearSystems::TransferFunToZeroPole
Declared in Dew::Signal::Units::LinearSystems · Dew.Signal/Units.LinearSystems.h · Cross-compiler