Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Sampling above the Nyquist rate but

  1. Jan 30, 2008 #1
    http://s188.photobucket.com/albums/z65/liznbren/stuff/?action=view&current=envelope.jpg" [Broken]

    If I sample at just fractionally above the Nyquist rate, and I obtain a sequence as is shown in the linked image, is it reasonable to expect perfect interpolation (say with a Sinc function ideally) as it is taken over infinite time.

    I am using a real-time DSP chip and I get a modulated output, as as evident in the image linked.

    Any comments on this sort of sequence would be great. It has a discrete frequency of about 0.9 pi.

    Last edited by a moderator: May 3, 2017
  2. jcsd
  3. Jan 30, 2008 #2


    User Avatar

    the answer is: theoretically yes. that sinusoid shown in your referred figure is (barely) sufficiently sampled. any time a continuous-time signal is sufficiently sampled (that is sampled at a rate that exceeds twice the highest frequency component of the signal), the original continuous-time signal can be reconstructed from the samples by use of the sinc( ) function as

    [tex] x(t) = \sum_{n=-\infty}^{+\infty} x[n] \ \mathrm{sinc}\left( \frac{t-nT}{T} \right) [/tex]


    [tex] \mathrm{sinc}(u) \equiv \frac{\sin(\pi u)}{\pi u} [/tex]


    [tex] F_s = \frac{1}{T} [/tex] is your sampling frequency.

    now the problem you have with your real-time DSP chip is that no matter how fast it is (yet finite in speed), you can't add up an infinite number of terms. so your sinc() function will get truncated somehow. simply cutting it off is applying the rectangular window which is pretty bad, so you will likely use a different window to make the reach of your sinc() function finite. in audio, i have been pretty much satisified with a reach of +/- 16 samples from the interpolated point that you're calculating. but i know there are sample rate conversion chips that have a reach of +/- 32 samples (a summation of 64 terms).

    this is a good forum and i wouldn't mind seeing more DSP discussion here, but the real action is at the comp.dsp USENET group. that's where i would take it.
  4. Jan 30, 2008 #3
    Thanks! I guessed this was so, I tried using MATLAB to create such a convolution of sinc( ) functions and as the length got arbitrarily large the results were convergent to the theory.

    The practicalities of actual implemented DSP are very interesting indeed it seems.

    All of this is for Direct-Digital-Synthesis by means of a wave-lookup table. It serves me well to look at it as the dual of sampling an actual sinusoid and proceeding by such means.

    Thanks for the reference to the USENET group!!!

  5. Dec 25, 2008 #4
    Re: Sampling above the Nyquist rate...but/ sine signal?

    May be about sampling sine and cosine signals will help the papers below:

    ET 4 CO 198.pmd

    9 CP PE 8.pmd

    Best regards
    P Petrov
    Last edited by a moderator: Apr 24, 2017
  6. Dec 25, 2008 #5


    User Avatar

    Staff: Mentor

    Re: Sampling above the Nyquist rate...but/ sine signal?

    Last edited by a moderator: Apr 24, 2017
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook