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

**URL:** <https://community.wolfram.com/t/transferfunctionmodel-z-p-g-s-not-working/17044>\
**Category:** Questions\
**Tags:** control-systems, signal-processing, mathematica\
**Created:** [November 18, 2020, 1:25pm UTC](https://community.wolfram.com/t/transferfunctionmodel-z-p-g-s-not-working/17044 "2020-11-18T13:25:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![thomas5](https://avatars.discourse-cdn.com/v4/letter/t/f4b2a3/32.png) [@thomas5](https://community.wolfram.com/u/thomas5)\
**Post date:** [November 18, 2020, 1:25pm UTC](https://community.wolfram.com/t/transferfunctionmodel-z-p-g-s-not-working/17044/1 "2020-11-18T13:25:37Z")

</div>

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

```
TransferFunctionModel[{z,p,g},s]

```

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!
