Signal Envelope Generator

An envelope generator for either single Gaussian, Lorentzian or top hat profiles, or a train thereof


Updated Tue, 14 Apr 2009 17:50:03 +0000

View License

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!

Cite As

Svetoslav Bajlekov (2023). Signal Envelope Generator (, MATLAB Central File Exchange. Retrieved .

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

Inspired: MyEqualizer(varargin)

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes

Added example usage to the file's comments section