Hello,
The whole script is below:
G=(a*K*G1*G2)/(s^2*C1*C2+s*(C2*(G1+G2)+C1*G2*(1-K))+G1*G2)
[G_den_coeffs,~]=coeffs(G_den,s)
G_den_coeffs=G_den_coeffs/(C1*C2)
G_den=poly2sym(G_den_coeffs,s)
equation2=G_den_coeffs(1,3)==1
equation1=G_den_coeffs(1,2)==0.618
The output of G2 is still an equation not a number as needed.
The variables are defined so when I copy and paste the G2 equation I get the value.
Any idea how can I get the result of G2 without the need to copy and paste the equation.