function tiaoxing(bochang,N,m,L,handles) Tx],-
U
global n s.Yyw y
global point XZIj' a0d
k=2*pi/bochang; C!~&c7
a=m*1e+006; (Cqhk:F
deltax=2*a/point;%取单位长度 Q6"r^wWx
xx=-a:deltax:a; )P\ec
L=L*1e+006; UT]LF#.(
nn=length(xx); ^EM##Ss_
u=ones(1,nn); DkQy.
jj=1:nn; sh E>gTe
for n=1:N %进行迭代 e9N"{kDs6
gnx!_H\h<
for b=1:nn lE$X9yIt
uu(b)=sqrt(i*exp(-i*k*L)/(bochang*L)).*... /R 2:Js
sum(exp(-i*k*((b-jj)*deltax).^2./(2*L)).*u)*deltax;% VT;$:>!+
om;jXf}A
end hPD2/M
0.t;i4
ma=max(uu);%归一化 co@Q
uu=uu./ma; 'd0]`2tVg4
u=uu; mqw&SxU9
axes(handles.axes1); K`PF|=z
plot(xx,abs(u)) ?5jkb
axes(handles.axes2); n\wO[l)
plot(xx,angle(u)) T+N%KRl
set(handles.edit10,'string',num2str(n));%迭代次数显示到面板 rjx6Ad/\
End