How to define transfer function as function in s

In control systems, we use transfer functions a lot. One way to define transfer function is merely to use tf(). For example, we could define such transfer function as
s=tf('s');
G=(s+1)/(s+3);
But what I would like to do is to define G as G(s) without explicitly defining the underlying transfer function and treat it as transfer function so that I can use Control Toolbox (i.e. feedback(), series(), parallel(),...,etc) to carry out some manipulations. How one can achieve this ?

5 件のコメント

Bandar
Bandar 2020 年 10 月 17 日
come on! not even a hint from staff?
Star Strider
Star Strider 2020 年 10 月 17 日
You might be able to do something like that in the Symbolic Math Toolbox (an experiment I have not done), however the Control System Toolbox does not do such symbolic representations.
You would then need to take the Symbolic Math Toolbox results manually to the Control System Toolbox, and code them appropriately.
Bandar
Bandar 2020 年 10 月 17 日
I've tried to use Symbolic Math Toolbox but Control systems toolbox yields errors since these expressions are not defined as transfer functions.
Star Strider
Star Strider 2020 年 10 月 17 日
I realise that. The point is that you can do the symbolic manipulations in the Symbolic Math Toolbox and then manually express the results as Control System Toolbox objects.
Bandar
Bandar 2020 年 10 月 22 日
I have to use some Control systems toolbox functions.

サインインしてコメントする。

回答 (1 件)

Rohit Pappu
Rohit Pappu 2020 年 10 月 29 日

0 投票

Functions like feedback() , series() etc, take in dynamic system models as input arguments. Additional information about dynamic system models can be found here

製品

リリース

R2020b

タグ

質問済み:

2020 年 10 月 13 日

回答済み:

2020 年 10 月 29 日

Community Treasure Hunt

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

Start Hunting!

Translated by