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 ExchangeDynamic System Models についてさらに検索

質問済み:

JJ
2014 年 3 月 26 日

回答済み:

2014 年 3 月 26 日

Community Treasure Hunt

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

Start Hunting!

Translated by