Generation and plotting of all basic signals

The following code generates basic signals such as: 1. Unit Impulse 2. Unit Step 3. Unit Ramp 4. Exponential Growth 5. Cosine
113 Downloads
Updated 13 Oct 2021

View License

The following code generates basic signals such as:
1. Unit Impulse Signal: The unit impulse function can be regarded as a rectangular pulse with a width of and height (1 / ). As tends to 0 the function approaches the Unit Impulse function and its derivative becomes narrower and higher and eventually a pulse of infinitesimal width of infinite height.
2. Unit Step Signal: Unit step function is denoted by u(t). It is defined as u(t) = {1t⩾00t<0. It is used as best test signal. Area under unit step function is unity.
3. Unit Ramp Signal: If the unit step function is integrated with respect to time t, then the unit ramp function results. It is symbolized by r(t). A unit ramp function increases linearly with time. [1]
4. Exponential Growth Signal: The “exponential” signal literally represents an exponentially increasing or falling series: Continuous time: s(t)=eαt. Note that negative α values result in a shrinking signal, whereas positive values result in a growing signal. [2]
[1]:https://www.eeeguide.com/unit-ramp-function/
[2]: http://dsp.cs.cmu.edu/notes/intro_to_signals/signals.html

Cite As

Nishita Anand (2024). Generation and plotting of all basic signals (https://www.mathworks.com/matlabcentral/fileexchange/100591-generation-and-plotting-of-all-basic-signals), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2021b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0