Generation and plotting of all basic signals
Version 1.0.0 (1.43 KB) by
Nishita Anand
The following code generates basic signals such as: 1. Unit Impulse 2. Unit Step 3. Unit Ramp 4. Exponential Growth 5. Cosine
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 LinuxTags
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.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0 |