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.
Tim Love (2021). Spectra (https://www.mathworks.com/matlabcentral/fileexchange/31045-spectra), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!