matlab求解:
clear all;
clc;
syms r1 r2 r3 r4 r5 C ui uo up2 un2 up1 uo1 s
um=uo*r5/(r4+r5)
eq2=(uo1-um)*s*C-(um-uo)/r3
eq1=(uo1-um)/r2+(ui-um)/r1-s*C*um
S=solve(eq1,eq2,uo1,uo)
hs=S.uo/ui
hs=collect(hs,s)
pretty(hs)
matlab求解结果:
hs =
((C*r2*r3*r4 + C*r2*r3*r5)*s)/((C^2*r1*r2*r3*r5)*s^2 + (C*r2*r3*r5)*s + r1*r4)
(C r2 r3 r4 + C r2 r3 r5) s
--------------------------------------------
2 2
(C r1 r2 r3 r5) s + (C r2 r3 r5) s + r1 r4
|