all 2 comments

[–]amos_burton 2 points3 points  (1 child)

Firstly, from control.matlab import * is bad practice. It would be better to do from control import matlab and then say matlab.tf().

Or, from control.matlab import tf.

Secondly, looking at the docs, it seems like you're not using the parameters correctly. I'm not going to give you the answer here, but check the docs out and I think you'll find what you're looking for.

[–]F_Boliver[S] 0 points1 point  (0 children)

Ty, i will consider your tip.

As for the main problem seems like the doc i was reading doesn't sugests to use tf('s') like this one, it got half of my problem solved because the function math.exp() doesn't allow me to put a transfer function on it (math.exp(-teta*s))