One of the forms for TransferFunctionModel is:
TransferFunctionModel[{z, p, g}, s]
Where z, p, g are the zeroes, poles, and gain.
There is no detail or example on this syntax that I can find. So I assume z and p are each lists of the numerical values, and g is a single constant. I try this in the code below, which describes a zero at -5000, and poles at -100 and -1000. This works fine if I just use the s domain expression, but returns unevaluated for my assumed {z,p,g} syntax.
tfm1 = TransferFunctionModel[{{20 (s + 5000)/((s + 100) (s + 1000))}},
s]
BodePlot[tfm1, {1, 100000}] (* this plots correctly *)
(* this is the {zeros, poles, gain} where zroes and poles is each a \
list of the values *)
(*it returns unevaluated *)
tfm2 = TransferFunctionModel[{{-5000}, {-100, -1000}, 1}, s]
Does anyone know how to do this correctly? Or where more documentation can be found?
Best, David