When using the tf
function in matlab, I'm not getting exactly the output I need.
For example:
tf( 1 , [1 1 1])
Produces:
ans =
1
-----------
s^2 + s + 1
Continuous-time transfer function.
What I desire is this:
ans =
1/(s^2 + s + 1).
I do not want the pretty format. I want to access the transfer function directly.