Hi, I have to take FFT of a signal, which will be in anywhere between
200-3000Hz.If I have to take FFT should I sample the signal only in powers of 2(2 power 20 samples or 2 power 21 samples, ofcourse atleast >6000 samples)? Thanks in advance.
Hi, I have to take FFT of a signal, which will be in anywhere between
|-------------------------------------------------------------------| |"[..]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.
Have something to add? Share your thoughts — no account required.
Ask the community — no account required