Be the first to rate this file! 47 downloads (last 30 days) File Size: 2.03 KB File ID: #23713

Signal Envelope Generator

by Svetoslav Bajlekov

 

14 Apr 2009 (Updated 14 Apr 2009)

Code covered by BSD License  

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

Download Now | 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.
Comments and Ratings (1)
28 Apr 2009 Mamdouh Neif

Thanks for sharing!
Mamdouh Neif

Please login to add a comment or rating.
Updates
14 Apr 2009

Added example usage to the file's comments section

Tag Activity for this File
Tag Applied By Date/Time
signal processing Svetoslav Bajlekov 14 Apr 2009 12:18:10
communications Svetoslav Bajlekov 14 Apr 2009 12:18:10
physics Svetoslav Bajlekov 14 Apr 2009 12:18:10
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com