Calculate Single-Sided Amplitude Spectrum
Check demo_single_side_spectrum.mlx for detail
Specify Resolution:
Decrease Side Lobes:
[Y_FFT,freq] = sspectrum(y)
[Y_FFT,freq] = sspectrum(y,fs)
[Y_FFT,freq] = sspectrum(y,fs,f_resl) % Specify Frequency Resolution
[Y_FFT,freq] = sspectrum(y,fs,f_resl,window) % Apply Window Function
[Y_FFT,freq] = sspectrum(y,fs, inf ,window); % Default Frequency Resolution
Cite As
HS Ding (2026). Amplitude_Spectrum (https://uk.mathworks.com/matlabcentral/fileexchange/167441-amplitude_spectrum), 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 |
