- #1
frenzal_dude
- 77
- 0
Hi, I tried sampling [tex]
s(t)=sin(400\pi t) + 0.5cos(12000\pi t)
[/tex] at 10000Hz (below the Nyquist sampling rate)
in MATLAB and plotted the spectrum, I found that it had frequencies at +-200Hz (same as the continuous signal version) and +- 4000Hz(instead of 6000Hz in the continuous signal).
Just wondering how sampling actually affects the spectrum of the signal, is there a formula or something which can tell you the frequency components based on the sampling rate?
Thanks for your help,
frenzal
s(t)=sin(400\pi t) + 0.5cos(12000\pi t)
[/tex] at 10000Hz (below the Nyquist sampling rate)
in MATLAB and plotted the spectrum, I found that it had frequencies at +-200Hz (same as the continuous signal version) and +- 4000Hz(instead of 6000Hz in the continuous signal).
Just wondering how sampling actually affects the spectrum of the signal, is there a formula or something which can tell you the frequency components based on the sampling rate?
Thanks for your help,
frenzal