0
$\begingroup$

To sample a sinusoidal signal at the Nyquist rate, we have to take two samples per cycle. Is there any condition on the position of the two samples? is it necessary to take them at the peaks?

$\endgroup$
  • $\begingroup$ I don't understand the question – have you tried to visualize what happens when you do that? Necessary for what purpose? $\endgroup$ – Marcus Müller Nov 4 '17 at 10:45
  • $\begingroup$ If we take two samples but not the peaks, can we reconstruct the signal correctly? $\endgroup$ – Noha Nov 4 '17 at 10:50
  • $\begingroup$ see my first comment. If you take two samples per period of e.g. a sine, do you get the same when you take them at the peak, the zero crossings, or somewhere in between? Doesn't that already answer your question? $\endgroup$ – Marcus Müller Nov 4 '17 at 10:54
  • $\begingroup$ Of course the zero crossing points will result in zero signal. Two samples in locations other than the peaks yield different signal reconstruction, why? the theory does not restrictions on the position of the samples $\endgroup$ – Noha Nov 4 '17 at 11:12
  • 1
    $\begingroup$ So, your "Why?" is a new question, and you might want to edit your question to ask that. But: the answer will be: yes, the theory does restrict the reconstructability of signal at the nyquist rate. You just have to be mathematically rigorous – reconstructability is either guaranteeed $[0;f_\text{Nyquist}[$ or $]0;f_\text{Nyquist}]$, not on the closed interval $[0;f_\text{Nyquist}]$. $\endgroup$ – Marcus Müller Nov 4 '17 at 11:21
2
$\begingroup$

Noha, when the classical sampling theorem (Nyquist-Shannon) for baseband signals is applied to an ideal sinusoidal of infinite extend of frequency $f_m$ Hertz $$x(t) = \cos(2 \pi f_m t)$$ it's found that the signal must be sampled at a sampling frequency greater than $2 f_m$; i.e. $$f_s > 2 f_m$$

Note that even though the selection of $f_s = 2 f_m$ would sufficiently work for most of the typical engineering signals, it will not work for an ideal sinusoidal signal. The reason is that the ideal sinusoidal has an exact impulse at the $f_s / 2$ frequency whereas most typical signals will not.

The practical solution is to use a sampling frequency slightly greater than the theoretical value given by the sampling theorem unless you are sure that there wont be any components at $f_s/2$.

$\endgroup$
0
$\begingroup$

To sample a sinusoidal signal at the Nyquist rate, we have to take two samples per cycle.

This is false. For baseband sampling, one has to sample above twice the highest frequency.

Note that time limited signals do not have zero bandwidth, so one has to sample above the frequency plus its upper bandwidth (any portion above your chosen noise floor) of any non-infinite length sinusoid, or you will not even be sampling at twice its highest frequency. The shorter the sinusoid and/or sampling window, the higher the required sampling rate to meet the Nyquist criterion (for a given noise floor requirement or specification).

"two samples per cycle" is the limiting case as your sinusoid and sampling length approaches infinity (e.g. beyond the life of the known universe), and the noise floor goes to zero (less than Planck size).

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.