sspropv.m
来自「非线性光纤光学」· M 代码 · 共 33 行
M
33 行
function [u1x,u1y] = sspropv(u0x,u0y,dt,dz,nz,alphaa,alphab,betapa,betapb,gamma,psp,method,maxiter,tol);% This function solves the coupled-mode nonlinear Schrodinger equations for% pulse propagation in an optical fiber using the split-step% Fourier method.% % The following effects are included in the model: group velocity% dispersion (GVD), higher order dispersion, polarization% dependent loss, arbitrary fiber birefringence, and% self-phase modulation. %% USAGE%% [u1x,u1y] = sspropv(u0x,u0y,dt,dz,nz,alphaa,alphab,betapa,betapb,gamma);% [u1x,u1y] = sspropv(u0x,u0y,dt,dz,nz,alphaa,alphab,betapa,betapb,gamma,psp);% [u1x,u1y] = sspropv(u0x,u0y,dt,dz,nz,alphaa,alphab,betapa,betapb,gamma,psp,method);% [u1x,u1y] = sspropv(u0x,u0y,dt,dz,nz,alphaa,alphab,betapa,betapb,gamma,psp,method,maxiter;% [u1x,u1y] = sspropv(u0x,u0y,dt,dz,nz,alphaa,alphab,betapa,betapb,gamma,psp,method,maxiter,tol);%%% INPUT%% u0x, u0y Starting field amplitude components% dt Time step% dz Propagation step size% nz Number of steps to take (i.e. L = dz*nz)% alphaa, alphab Power loss coefficients for the two eigenstates% (see note (2) below)% betapa, betapb Dispersion polynomial coefs, [beta_0 ... beta_m] % for the two eigenstates (see note (3) below)% gamma Nonlinearity coefficient% psp Polarization eigenstate (PSP) of fiber, see (4)% method Which method to use, either 抍ircular
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?