Numerical solution of the NLS equation

The following code solve the NLS equation using the split-step Fourier method

You are now following this Submission

The NLS equation is a nonlinear partial differential equation that does not generally lend itself to analytic solutions. A numerical approach is often necessary for an understanding of the nonlinear effects in optical fibers. Several numerical methods were developed during the 1970s for solving the NLS equation. One method that has been used extensively for solving pulse-propagation problems in nonlinear dispersive media is the split-step Fourier method, also known as the beam-propagation method.
The NLS equation :
NLS equation
NB. See : Nonlinear Fiber Optics by Govind Agrawal (Problem 2.13)

Cite As

zoheir ziani (2026). Numerical solution of the NLS equation (https://www.mathworks.com/matlabcentral/fileexchange/123255-numerical-solution-of-the-nls-equation), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.1

Update Description

1.0.0