DSP Tuner - Is this correct for freq offset?

cutesteph
Messages
62
Reaction score
0
Say I already calculated the frequency offset after the ADC, which was calculated using a 1,048,576 FFT, but I only have 1,040,000 IQ samples. Do I need to use a non power of two FFT method or will the follow work?

freq corrected IQdata = sum of iqData(i)*[exp(i*2*pi* n*freq_offset*(diff )/(freq_sampling_rate)]

for n = 1,...1,400,000

where diff = 1,048,576/1,400,000
 
Engineering news on Phys.org
Have you considered filling the 8,576 unused locations at the end of the data with zeros?
You might put 4288 zeros at each end of the data after multiplying the shorter data record by the window function.

Your solution will depend on why you are using the DFT.
Is the sample rate chosen for frequency resolution, or is the data length a multiple of a fundamental?
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K