Consider this example.
M = TransferFunctionModel[3/(s^2 - s + 5), s]
the DC gain should be the value of the transfer function M[s]
for s = 0
, that is M[0] = 3/5
.
But if I input the command (which was suggested in this answer: "How to convert a transfer function model to a zero-pole-gain model?")
Control`ZeroPoleGainModel[M]
this is the output from Mathematica:
Control`ZeroPoleGainModel[{{{{}}}, {1/2 (1 - i Sqrt[19]), 1/2 (1 + i Sqrt[19])}, {{3}}}, s]
Note that the gain given by Mathematica is 3, whereas I was expecting 3/5.
What am I doing wrong here?
TransferFunctionModel
but did you see that the vector before{{3}}
gives 5 if you multiply the complex numbers which are complements of each other? Maybe this is the scaling. $\endgroup$