File Exchange

image thumbnail

Finite Difference Beam Propagation Method

version (2.11 KB) by Edgar Guevara
Gaussian pulse propagated in free space using FDBPM


Updated 18 Sep 2013

View Version History

View License

Simulation of a gaussian pulse propagated in free space through 1000 um, using finite differences.
Just run the script and you'll get a surface which is made up of the pulse propagated at 1 um steps.

R. J. Schilling and S. L. Harris, Applied numerical methods for engineers using MATLAB and C ( Cengage Learning, 1999), ISBN: 0-534-37014-4.
K. Okamoto, Fundamentals of Optical Waveguides (Academic, 2000).ISBN-13: 978-0125250955

Cite As

Edgar Guevara (2021). Finite Difference Beam Propagation Method (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (9)

Edgar Guevara

@zash sh Please see the following lines to generate an optical waveguide, from a similar function
% ---------- Generacion del perfil de la guia de onda -----------------
for j = 1:1:num_samples
if (x(j) >= x1) & (x(j) <= x2)
n(j) = nmax;
elseif (x(j) >= x3) & (x(j) <= x4)
n(j) = nmax;
n(j) = nmin;
plot(x,n,'b.'); title('Perfil de indice de refraccion'); xlim([xa xb]);

Where x is the spatial domain

zash sh

If the code is for free space, how can we update it for optical waveguides?

almontaser hussein


harsha ng

Binjie Liu



Do you have some references you have studied before to develop the program??? because i'm trying to understand your algoritm.

Mohsin Shah

Can we use finite difference methode to propagate a gussian pulse along optical fiber using schrodinger nonlinear equation?? plz reply

Eduardo Jiménez

this work is a exelente elaboration of a very util simulation for the observation of the propagation of a pulse.
very good work.

MATLAB Release Compatibility
Created with R13
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!