Software Listing of Author : "Svetoslav Bajlekov"
- Envelope
- License: Freeware
- Price: 0.00


This function begins by deducing the wavelength of the signal's primary Fourier component. It then smooths the signal using a moving-window average -- the window is roughly top hat, of size equal to the primary wavelength. For 2-D data it will perform this function on each column of data, using the primary wavelength of the central column throughout. The only input is the oscillating field. This method works remarkably well in obtaining the laser field envelope from the particle-in-cell simulations I have tested it on (see screenshot). A possible extension would be to adapt it for a signal with a time-dependent frequency, by implementing a window of position-dependent size.
- Publisher: Svetoslav Bajlekov
- Date Released: 22-04-2013
- Download Size: 10 KB
- Download
- Platform: Matlab, Scripts
- Signal Envelope Generator
- License: Freeware
- Price: 0.00


This is intended as a simple tool that allows the generation of arbitrary envelopes: either for signals or other time-dependent phenomena. It takes as arguments the shape of a single pulse (top hat, Guassian or Lorentzian); whether the output should just be that single pulse or an equi-spaced train of them; and the parameters (pulse width, location of center, train spacing). The comments in the file outline the exact argument requirements. In particular, the code is based on anonymous functions so that it to be flexibly extended to (a) other single pulse shapes and (b) more complex pulse arrangements. This is my first submission here so any feedback is very welcome!
- Publisher: Svetoslav Bajlekov
- Date Released: 23-02-2013
- Download Size: 4229 KB
- Download
- Platform: Matlab, Scripts
