Matlab版本: 2013
以下是程式码:
g = sym('[g1,g2,g3]') ; %变量阵列 g
a = sym('[a1,a2,a3]') ; %变量阵列 a
%%%%%%%%%%%%忽略部分计算%%%%%%%%%%%%%
NTF(s) = 1/POF ;
simplifyFraction(NTF(s))
collect(NTF(s),s)
[num, den] = numden(NTF(s))
collect(num,s)
collect(den,s)
den_coeffs = coeffs(den,s) % s^0