Message Boards Message Boards


TransferFunctionModel[{z,p,g},s] not working?

Posted 6 months ago
0 Replies
0 Total Likes

hello, I'm trying to model a transfer function by specifying the zeros, poles and gain. Following the document that says:


specifies the zeros z, poles p, and gain g of a transfer-function model.

I do this in Mathematica:

 In[43]:= tmf = TransferFunctionModel[{2 - 3 I, 0.5 + 0.1 I, 3}, s]

Out[43]= TransferFunctionModel[{{{ Complex[2, -3],  Complex[0.5, 0.1], 3}}, 1}, s]

which is incorrect because of the following:

In[44]:= TransferFunctionZeros[tmf]

Out[44]= {{{}, {}, {}}}

please kindly advise the correct syntax of zeros-poles-gain specification with an example. Thanks!

Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
or Discard

Group Abstract Group Abstract