Get single-sided spectrum from time signal and viceversa
Attached are two simple functions to perform the basic operations in every-day signal processing. The function 'dofft' takes a time-domain signal and Sampling frequency and returns a complex vector of the single-sided spectrum. The function 'doifft' takes the single-sided spectrum (complex) and returns the original time-domain signal. An example is also attached for beginners.
Cite As
Muhammad Waqar (2024). Get single-sided spectrum from time signal and viceversa (https://www.mathworks.com/matlabcentral/fileexchange/89182-get-single-sided-spectrum-from-time-signal-and-viceversa), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
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 |