version (5.13 KB) by Tim Love
Spectrum Analysis teaching aid


Updated 15 Apr 2011

View License

Previously used in undergraduate teaching. It's a single file - start it by typing "spectra". I can't find the associated documentation, but it doesn't have many features anyway. Specify some A, k and phi values for some signals and set them to 'On' to combine them. Set the number of sample points then run fft.

If you provide it with an argument (e.g. type "spectra(1)"), you'll get more features.

Cite As

Tim Love (2022). Spectra (https://www.mathworks.com/matlabcentral/fileexchange/31045-spectra), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!