我用两个程序验证了这个等式,但是结果不一样。[Visual Basic] 纯文本查看 复制代码 05 | for circlew=1:circlewend; |
06 | w0(circlew)=-50+2*50/(circlewend-1)*(circlew-1); |
09 | for circlet=1:circletend-1; |
10 | t0(circlet)=tend/(circletend-1)*(circlet-1); |
11 | t10(circlet)=tend/(circletend-1)*(circlet); |
14 | s=s+0.5*(expm(-i*w*t)*expm(-2*t)+expm(-i*w*t1)*expm(-2*t1))*tend/(circletend-1); |
19 | figure(18);hold on; plot(w0,ss, |
25 | for circlew=1:circlewend; |
26 | w0(circlew)=-50+2*50/(circlewend-1)*(circlew-1); |
28 | ss(circlew)=1/(2+i*w); |
30 | figure(18);hold on; plot(w0,ss, |
|