Envelope

Envelope of an oscillating signal - sinusoidal or otherwise
2,8K descargas
Actualizado 14 abr 2009

Ver licencia

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.

Citar como

Svetoslav Bajlekov (2024). Envelope (https://www.mathworks.com/matlabcentral/fileexchange/23769-envelope), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2008b
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre Spectral Measurements en Help Center y MATLAB Answers.

Community Treasure Hunt

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

Start Hunting!
Versión Publicado Notas de la versión
1.0.0.0