Signal Envelope Generator
by Svetoslav Bajlekov
14 Apr 2009
(Updated 14 Apr 2009)
An envelope generator for either single Gaussian, Lorentzian or top hat profiles, or a train thereof
|
Watch this File
|
| File Information |
| Description |
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! |
| MATLAB release |
MATLAB 7.7 (R2008b)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Updates |
| 14 Apr 2009 |
Added example usage to the file's comments section |
|
Contact us at files@mathworks.com