Signal Envelope Generator
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 (https://www.mathworks.com/matlabcentral/fileexchange/23713-signal-envelope-generator), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired: MyEqualizer(varargin)
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.