Be the first to rate this file! 29 downloads (last 30 days) File Size: 2.66 KB File ID: #13657

Pulse Propagation

by Adam Wyatt

 

14 Jan 2007 (Updated 16 Jul 2007)

Code covered by the BSD License  

Electromagnetic pulse propagation in free space in 2 spatial dimensions.

Download Now | Watch this File

File Information
Description

This script simulates the propagation of an electromagnetic pulse in time and 2 spatial dimensions. The resulting movie is a map of the beam profile in the transverse direction (i.e. perpendicular to propagation) as a function of time at a given longitudinal position (i.e. along propagation axis).

The result uses plane wave solutions to the wave equation, integrating over all possible directions and frequencies, computed using fast fourier transforms.

The simulations can be used to help visualize how space-time-coupling (STC) affects pulse propagation.

The idea can easily be expanded into 3 spatial dimensions (although the computational cost can become excessive).

MATLAB release MATLAB 7.2 (R2006a)
Other requirements No restrictions
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (4)
16 Jan 2007 Zhijun Wang

The following information will be produced with the program
??? Undefined function or method 'chng_rng' for input arguments of type 'double'.

Error in ==> pulse_prop at 39
wmin = chng_rng(1, c); Min w value

19 Jan 2007 Adam Wyatt

Error from Zhijun Wang has been fixed now.

11 Jul 2007 Athanasios Makris

The program does not run as is on 7.1.0.246 (R14)
There are several problems with the vector dimensions and operations among them.

I have the feeling that these errors are note related to matlab version (after R14)...

18 Jul 2007 Adam Wyatt

I made a slight typo on the function, which I have now fixed. Program runs without any problems.

Please login to add a comment or rating.
Updates
16 Jan 2007

Sorry - I forgot to add a couple of my home-made functions. These have now been added to the start of the file - all should work now!

16 Jul 2007

Slight typo - the gauss function should be 2.^(.....) which I have now changed.

Tag Activity for this File
Tag Applied By Date/Time
chemistry Adam Wyatt 22 Oct 2008 08:57:00
physics Adam Wyatt 22 Oct 2008 08:57:00
electromagnetic pulse Adam Wyatt 22 Oct 2008 08:57:00
free space Adam Wyatt 22 Oct 2008 08:57:00
propagation Adam Wyatt 22 Oct 2008 08:57:00
propagation ask Skazik 21 May 2009 03:49:44
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com