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!
引用格式
Svetoslav Bajlekov (2026). Signal Envelope Generator (https://ww2.mathworks.cn/matlabcentral/fileexchange/23713-signal-envelope-generator), MATLAB Central File Exchange. 检索时间: .
致谢
启发作品: MyEqualizer(varargin)
