计算脉冲在非线性耦合器中演化的Matlab 程序 &D,Iwq
wQ_4_W
% This Matlab script file solves the coupled nonlinear Schrodinger equations of #M,&g{
% soliton in 2 cores coupler. The output pulse evolution plot is shown in Fig.1 of N5Js.j>z
% Youfa Wang and Wenfeng Wang, “A simple and effective numerical method for nonlinear /K=OsMl2b8
% pulse propagation in N-core optical couplers”, IEEE Photonics Technology lett. Vol.16, No.4, pp1077-1079, 2004 x/|W;8g4
?
SFBUX(p
%fid=fopen('e21.dat','w'); 6h 0qtXn-
N = 128; % Number of Fourier modes (Time domain sampling points) {)YbksrJ{
M1 =3000; % Total number of space steps uLhGp@Dx
J =100; % Steps between output of space ; pnF%co9
T =10; % length of time windows:T*T0 Z,&