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?

类别

帮助中心File Exchange 中查找有关 Dynamic System Models 的更多信息

提问:

JJ
2014-3-26

Community Treasure Hunt

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

Start Hunting!

Translated by