The combine(S) and horner(p) functions did not work as expected?
Code:
syms C_F C_L C_GS g_m R_L omega positive
s = i*omega;
Y_in=(1-(s*C_F-g_m)/(1/R_L+s*C_F+s*C_L))*s*C_F+s*C_GS
Re = real(Y_in)
[N,D] = numden(simplify(Re))
D-1
combine(D-1)
horner(D-1)
D
combine(D)
horner(D)
Behavior:Code:
syms C_F C_L C_GS g_m R_L omega positive
s = i*omega;
Y_in=(1-(s*C_F-g_m)/(1/R_L+s*C_F+s*C_L))*s*C_F+s*C_GS
Re = real(Y_in)
[N,D] = numden(simplify(Re))
D-1
combine(D-1)
horner(D-1)
D
combine(D)
horner(D)
Behavior: Code:
syms C_F C_L C_GS g_m R_L omega positive
s = i*omega;
Y_in=(1-(s*C_F-g_m)/(1/R_L+s*C_F+s*C_L))*s*C_F+s*C_GS
Re = real(Y_in)
[N,D] = numden(simplify(Re))
D-1
combine(D-1)
horner(D-1)
D
combine(D)
horner(D)
Behavior: symbolic MATLAB Answers — New Questions