Get single-sided amplitude spectrum, matlab script based, no fig file (not guide or app designer), easy to use. No toolbox required.
- select variable from workspace, if data is 2 row or 2 column, 1st row or column will be time. gui will auto fill "scale" box (sampling frequency)
- zoom in the range of interesting, spectrum only from these data
- input scale, if input sampling frequency fs, the unit of x axis is hz. if input fs/ref_freq, x axis will be ref to ref_freq. for example, 1x,2x... motor frequency
- Set spectrum resolution
- select window function
- if you want to check what is 2x motor frequency in time domain, input 2 in grid box, it will draw grid.
- export result data in workspace
Cite As
HS Ding (2026). Amp_Spectrum_GUI (https://www.mathworks.com/matlabcentral/fileexchange/167631-amp_spectrum_gui), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2024a
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0 |
