function tiaoxing(bochang,N,m,L,handles) qV,x )y:V
global n -mo4`F
global point \q24E3zS&
k=2*pi/bochang; fA[T5<66
a=m*1e+006; qK~]au:C
deltax=2*a/point;%取单位长度 o]&P0 b
xx=-a:deltax:a; C7}iwklcsa
L=L*1e+006; RzFxO
nn=length(xx); =4U$9jo!;
u=ones(1,nn); '"ze Im~
jj=1:nn; A`>^A]%
for n=1:N %进行迭代 !x||ObW\H
]"YXa~b
for b=1:nn x") Bmw$
uu(b)=sqrt(i*exp(-i*k*L)/(bochang*L)).*... %|f@WxNrU
sum(exp(-i*k*((b-jj)*deltax).^2./(2*L)).*u)*deltax;% $BB^xJ\O
E8<,j})*
end Bs>S2]
~DB:/VSmu
ma=max(uu);%归一化 kE!ky\E
uu=uu./ma; dldS7Q
u=uu; A1z<2.R
axes(handles.axes1); #SjCKQ~
plot(xx,abs(u)) 1!E}A!;
axes(handles.axes2); r?^L/HGc
plot(xx,angle(u)) ~XvMiWuo
set(handles.edit10,'string',num2str(n));%迭代次数显示到面板 FP0GE
End