0
$\begingroup$

Would I be right in saying that if a signal was sampled every 0.2ms, when converting it to digital. The sampling rate would be 5000(Hz)?

How would I go about working out the highest frequency it would have using the sampling theorem?

$\endgroup$
0
$\begingroup$

If you sample every 0.2ms you collect 5000 samples per second and hence the sampling rate is 5000 Hz. According to Nyquist, this means the highest frequency the signal can have so we don't experience aliasing would be 2500 Hz.

Though that wasn't the question (it was about the sampling theorem explicitly), it's worth pointing out that that's only a theoretical limit. In practice, we need to go a bit higher (leave some room) for various reasons, including the fact that we can never observe an infinitely long signal, as correctly pointed out by the commenters.

$\endgroup$
  • 3
    $\begingroup$ In practice you need a healthy margin between the highest usable frequency and Nyquist. How much margin really depends on the specific requirements of your application and how you implement your aliasing prevention. $\endgroup$ – Hilmar Sep 9 at 17:11
  • 1
    $\begingroup$ Half the sample rate only applies as the limit for infinite length signals and sampling durations in zero noise, e.g. never. $\endgroup$ – hotpaw2 Sep 10 at 14:31
  • $\begingroup$ Certainly. Nyquist talks about band-limited signals and time-limited signals can never be bandlimited signals. So if we're honest, bandlimited signals do not exist in practice so sampling will never be lossless. Yet, it doesn't have to be, we're typically fine with a limited accuracy in practice. $\endgroup$ – Florian Sep 10 at 15:14
  • $\begingroup$ I am confused about your comment, @Florian. To my knowledge, anti-aliasing measures limit the bandwidth of recorded signals in order to fulfill the Nyquist criterion. To me, these are band-limited, and are sampled without loss, but perhaps I'm forgetting about something? $\endgroup$ – Jonas Schwarz Oct 10 at 22:24
  • $\begingroup$ Also, shouldn't the criterion be <f_s/2, as opposed to ≤f_s/2? Sorry for the nitpicking but i think the f_s/2 case is at least depending on the phase of this signal frequency. $\endgroup$ – Jonas Schwarz Oct 10 at 22:27

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.