function tiaoxing(bochang,N,m,L,handles) Q]YB.n3
global n R3~,&ab
global point 8
MQq3
k=2*pi/bochang; . :Skc
a=m*1e+006; +b(};(wL
deltax=2*a/point;%取单位长度 5E\.YqdV
xx=-a:deltax:a; !HvA5'|:}
L=L*1e+006; @khFk.LBD
nn=length(xx); d.FU))lmD
u=ones(1,nn); >\d&LLAe
jj=1:nn; wAKHD*M)
for n=1:N %进行迭代 "E(i<
I.n,TJoz4J
for b=1:nn Y~AjcqS
uu(b)=sqrt(i*exp(-i*k*L)/(bochang*L)).*... %rylmioW>
sum(exp(-i*k*((b-jj)*deltax).^2./(2*L)).*u)*deltax;% =#2c
r:1
j|t=%*
end UJL2IF-x
hm,{C
ma=max(uu);%归一化 :~otzI4%!
uu=uu./ma; E`.xu>Yyj
u=uu; D5,]E`jwu
axes(handles.axes1); {Rkd;`Q`!
plot(xx,abs(u)) /K#k_k
axes(handles.axes2); VHxBs
plot(xx,angle(u)) ,AP0*Ln
set(handles.edit10,'string',num2str(n));%迭代次数显示到面板 ~w?02FU
End