How can I evaluate a symbolic expression as a transfer function

조회 수: 2 (최근 30일)
Robert Ungi
Robert Ungi 2015년 6월 8일
답변: Walter Roberson 2015년 6월 8일
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

답변 (1개)

Walter Roberson
Walter Roberson 2015년 6월 8일
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

카테고리

Help CenterFile Exchange에서 Stability Analysis에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by