| tianmen |
2011-06-12 18:33 |
求解光孤子或超短脉冲耦合方程的Matlab程序
计算脉冲在非线性耦合器中演化的Matlab 程序 qYiv z=qWJQ % This Matlab script file solves the coupled nonlinear Schrodinger equations of q-YL]PgV % soliton in 2 cores coupler. The output pulse evolution plot is shown in Fig.1 of I:F
<vE % Youfa Wang and Wenfeng Wang, “A simple and effective numerical method for nonlinear NEMEY7De2 % pulse propagation in N-core optical couplers”, IEEE Photonics Technology lett. Vol.16, No.4, pp1077-1079, 2004 0pD[7~ ^o *6XRjq^# %fid=fopen('e21.dat','w'); pajy#0 U N = 128; % Number of Fourier modes (Time domain sampling points) AuAT]` M1 =3000; % Total number of space steps y1iX!m~) J =100; % Steps between output of space vevf[eO- T =10; % length of time windows:T*T0 usy,V"{ T0=0.1; % input pulse width bo1I&I | |