Re: finding sample rate



On Aug 30, 1:05 am, Wills <wills.kingspan...@xxxxxxxxx> wrote:
On Aug 29, 4:03 pm, Colin Paul Gloster <Colin_Paul_Glos...@xxxxxxx>
wrote:



On 2007-08-29, Wills <wills.kingspan...@xxxxxxxxx> wrote:

|-------------------------------------------------------------------|
|"[..]If I have to take FFT should I sample the signal only in |
|powers of 2[..]?" |
|-------------------------------------------------------------------|

No, unless you are using something (e.g. a library) which needs you to.

|-------------------------------------------------------------------|
|"(2 power 20 samples or 2 power 21 samples, ofcourse |
|atleast >6000 samples)?" |
|-------------------------------------------------------------------|

2 to the power of 20 is >6000. 2 to the power of 13 is 8192 which is
the smallest number >6000 which can be obtained by raising 2 to the
power of a natural number.

Good luck,
Colin Paul Gloster

Thanks.
Should the number of samples be 2 power x?

Thanks in advance.

For FFT you should have 2^N number of samples, but you don't have to
have 2^M value of sampling frequency. Choose it basing on the
rejection factor of your anti-aliasing filter.
Good luck,
Alex.

.



Relevant Pages

  • Re: FFT for N Not a Power of 2
    ... remove the largest number of observations that are a power of 2, ... There are FFT algorithms that work for any N, including prime numbers, but ... with floor rising near the two tones. ... had to ensure that the length of the window and periods of each of the ...
    (sci.optics)
  • Re: Why is more power required for BASS?
    ... Beware of FFT - that shows energy, not power. ... a steady 1V RMS 1 kHz tone may display ...
    (rec.audio.pro)
  • Re: Windowed FFT power and amplitude spectrum
    ... PS: You can find a nice explenation about coherent power gain on this page: ... > Here is another fascinating question on FFT spectrum!! ... > windowing is applied to the time series before FFT is applied. ... > multiplied by a scaling factor but I am not sure how this scaling factor ...
    (comp.dsp)
  • Re: FFT and DFT
    ... in article 4415D32C.3B47ECE5@xxxxxxxxxxx, Mike Fontenot at ... I use the function cvDFT in Visual C++. ... but the fft requires that the number ... number is a power of 2. ...
    (sci.physics)
  • Re: zero padding radix - 2 FFT
    ... FFT with an odd size. ... Zero padding the FFT to the next power of two ... Now zero pad to the next power of two. ...
    (comp.dsp)