|-------------------------------------------------------------------| |"[..]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