transfer function input format

is there a way of writing transfer functions in the format (s+1)(s+2) instead of (s^2+3s+2)? thanks

 Accepted Answer

Yes.
This works (in R2017b):
s = tf('s');
sys = (s+1)*(s+2)
sys =
s^2 + 3 s + 2
Continuous-time transfer function.
You have to supply the multiplication operator, or it will throw an error.

More Answers (0)

Categories

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!