include a parameter inside a transfer function?

Hello all
I want to enter the following transfer function (as a function of s)
(s+2)/(s+b), where b is a parameter.
I tried with
syms b
sys=tf([1 2], [1 b])
But it gave me a error. How can I do this?

Categorías

Más información sobre Dynamic System Models en Centro de ayuda y File Exchange.

Preguntada:

JJ
el 26 de Mzo. de 2014

Respondida:

el 26 de Mzo. de 2014

Community Treasure Hunt

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

Start Hunting!

Translated by