計算脈沖在非線性耦合器中演化的Matlab 程序 oyvtZ/@ FAtWsk*pgY % This Matlab script file solves the coupled nonlinear Schrodinger equations of
%$9:e
J? % soliton in 2 cores coupler. The output pulse evolution plot is shown in Fig.1 of
9ECS,r*B % Youfa Wang and Wenfeng Wang, “A simple and effective numerical method for nonlinear
Phlk1*1n % pulse propagation in N-core optical couplers”, IEEE Photonics Technology lett. Vol.16, No.4, pp1077-1079, 2004
Bz:0L1@,4a <%?uYCD %fid=fopen('e21.dat','w');
2PBepgQyPU N = 128; % Number of Fourier modes (Time domain sampling points)
H m8y]>$ M1 =3000; % Total number of space steps
1v]t!}W:6 J =100; % Steps between output of space
;,`]O!G:P T =10; % length of time windows:T*T0
h