Effacer les filtres
Effacer les filtres

How can I evaluate a symbolic expression as a transfer function

3 vues (au cours des 30 derniers jours)
Robert Ungi
Robert Ungi le 8 Juin 2015
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

Réponses (1)

Walter Roberson
Walter Roberson le 8 Juin 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


En savoir plus sur Symbolic Math Toolbox dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by