This MATLAB code illustrates the spectral representation of a 128 point sinusoidal signal with an amplitude of 1 and frequency of 12.5 Hz that is sampled at different sampling frequencies (Fs) and different FFT sizes (Nfft). It shows:
a) Fs = 64 Hz, Nfft = 128 points
b) Fs = 128 Hz, Nfft = 128 points
c) Fs = 128 Hz, Nfft = 256 points
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
36 views1 page
Function
This MATLAB code illustrates the spectral representation of a 128 point sinusoidal signal with an amplitude of 1 and frequency of 12.5 Hz that is sampled at different sampling frequencies (Fs) and different FFT sizes (Nfft). It shows:
a) Fs = 64 Hz, Nfft = 128 points
b) Fs = 128 Hz, Nfft = 128 points
c) Fs = 128 Hz, Nfft = 256 points