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에서 MATLAB에 대해 자세히 알아보기

질문:

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