08-25-2010 05:14 AM
I am currently trying to conduct an FFT on a signal in LabVIEW.
The signal has been sampled at 10kHz.
The output from the FFT VIs are integer values e.g.. 1,2,3,4,5..... I am looking for 2 particular frequencies at 14.3Hz and 15.1 Hz. Just now I get a peak at 14 and 15 but I want to be more specific. Is this possible?
Thanks
Scott
Solved! Go to Solution.
08-25-2010 05:22 AM
08-25-2010 05:34 AM
Not too sure what you mean by this.
If my sample rate is 10kHz what does a peak at 15 on the output represent in Hz?
Thanks
08-25-2010 05:59 AM
hi scottcolston,
what i mean,say if you sample your sgnal at 10khz and if you calculate your FFT,maximum it will plot upto 5khz and after that it will be repeating .And the distance between each frequency components in FFT will be your 10khz...So FFT cant be continuos one and you cant find the values for intermediate values.
Thanks and regards,
srikrishnaNF
08-25-2010 08:26 AM
Read the detailed help for the FFT. It says that the resolution df is fs/N where fs is the sampling frequency and N is the number of samples.
So if you are getting df = 1 and fs = 10000, then N must also be 10000. If you want resolution to 0.1 Hz, you need 100000 samples.
Lynn
08-25-2010 08:30 AM
Thanks Lynn,
This is where I was going wrong.
Scott
08-25-2010 11:46 AM
In short the resolution is the inverse of the sample time.
Ton