How can I evaluate a symbolic expression as a transfer function

2 Ansichten (letzte 30 Tage)
Robert Ungi
Robert Ungi am 8 Jun. 2015
Beantwortet: Walter Roberson am 8 Jun. 2015
Hi,
I have the following transfer function G(s) = 1/(s^2+1)
I have the following symbolic expression
syms G_s_p G_s_m
sys = [ G_s_m/2 + G_s_p/2, (G_s_m*i)/2 - (G_s_p*i)/2;
- (G_s_m*i)/2 + (G_s_p*i)/2, G_s_m/2 + G_s_p/2]
where G_s_p = G(s+i*w_0) and G_s_n = G(s-i*w_0)
How can I create transfer function from the sys variable?
Thank you, Robert

Antworten (1)

Walter Roberson
Walter Roberson am 8 Jun. 2015
I do not know my way around the various representations of transfer functions. In part it is going to depend upon what output form you want: if you want something that can be used by the control system toolbox then you will need to convert to numeric form. But there is also symbolic work with transfer functions such as http://www.mathworks.com/help/symbolic/ztrans.html

Kategorien

Mehr zu Stability Analysis finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by