方程组如下:
(G1+G2+C1*s)*Ua-G2*Ub=G1*Ui+C1*s*Uo;
-G2*Ua+(C2*s+G2)Ub=0;
Ub=Uo/K;
在MATLAB下运行:syms C1 C2 Ua Ub G1 G2 Uo Ui K s
solve('(G1+G2+C1*s)*Ua-G2*Ub=G1*Ui+C1*s*Uo','-G2*Ua+(C2*s+G2)*Ub=0','Uo=K*Ub','Uo','Ui')
显示结果:Warning: 3 equations in 2 variables.
> In solve at 113
Warning: Explicit solution could not be found.
> In solve at 140
ans =
[ empty sym ]
我换了一个式子:solve('(G1+G2+C1*s)*Ua-G2*Ub=G1*Ui+C1*s*Uo','-G2*Ua+(C2*s+G2)*Ub=0','Uo=K*Ub','Uo/Ui') %网络函数H(s)=Uo/Ui.
显示:Warning: Explicit solution could not be found.
> In solve at 140
ans =
[ empty sym ]
高手速来,在线等啊!!!!!!!!!!!!!!!!!!!急!!!