How to define transfer function as function in s
Show older comments
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 Comments
Bandar
on 17 Oct 2020
Star Strider
on 17 Oct 2020
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
on 17 Oct 2020
Star Strider
on 17 Oct 2020
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
on 22 Oct 2020
Answers (1)
Rohit Pappu
on 29 Oct 2020
0 votes
Functions like feedback() , series() etc, take in dynamic system models as input arguments. Additional information about dynamic system models can be found here
Categories
Find more on Time-Domain Analysis in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!