计算脉冲在非线性耦合器中演化的Matlab 程序 Y=i_2R2e2
B~E>=85z
% This Matlab script file solves the coupled nonlinear Schrodinger equations of .]0:`Y,;
% soliton in 2 cores coupler. The output pulse evolution plot is shown in Fig.1 of -UWyBM3c@
% Youfa Wang and Wenfeng Wang, “A simple and effective numerical method for nonlinear cJ>^@pd{
% pulse propagation in N-core optical couplers”, IEEE Photonics Technology lett. Vol.16, No.4, pp1077-1079, 2004
yjOZed;M
i!G<sfL
%fid=fopen('e21.dat','w'); ~<}?pDA}~
N = 128; % Number of Fourier modes (Time domain sampling points) vl!o^_70(
M1 =3000; % Total number of space steps t R.>d
J =100; % Steps between output of space aI;fNy/K
T =10; % length of time windows:T*T0 +f}w+
T0=0.1; % input pulse width 1]W8A.ZS
MN1=0; % initial value for the space output location J[UTn'M8]
dt = T/N; % time step S#0C^
n = [-N/2:1:N/2-1]'; % Index 3*F|`js"
t = n.*dt; &?I3xzvK
u10=1.*sech(1*t); % input to waveguide1 amplitude: power=u10*u10 |}: D_TX
u20=u10.*0.0; % input to waveguide 2 {qm5H7sL
u1=u10; u2=u20; djn<