Borrar filtros
Borrar filtros

How can I evaluate a symbolic expression as a transfer function

2 visualizaciones (últimos 30 días)
Robert Ungi
Robert Ungi el 8 de Jun. de 2015
Respondida: Walter Roberson el 8 de Jun. de 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

Respuestas (1)

Walter Roberson
Walter Roberson el 8 de Jun. de 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

Categorías

Más información sobre Symbolic Math Toolbox en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by