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
@zash sh Please see the following lines to generate an optical waveguide, from a similar function https://www.mathworks.com/matlabcentral/fileexchange/14795-fft-beam-propagation-method?s_tid=FX_rc2_behav
% ---------- 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
If the code is for free space, how can we update it for optical waveguides?
Do you have some references you have studied before to develop the program??? because i'm trying to understand your algoritm.
Can we use finite difference methode to propagate a gussian pulse along optical fiber using schrodinger nonlinear equation?? plz reply
this work is a exelente elaboration of a very util simulation for the observation of the propagation of a pulse.
very good work.