FFT of Sampled data
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi all I have a sampled data of the length 1024. the sampling frequency is 400kHz.
I want to split this data in two Vectors. One vector is for the even members and the other one for the even members of the vector.
For each on i want to make separetly an FFT.
Is now the sampling frequency 200 KHZ for each stream?
% Fs=400
NFFT = 2^nextpow2(length(data)); % Next power of 2 from length of y
I_fft = fft(data,NFFT)/length(data);
Q_fft=fft(data,NFFT)/length(data);
f = Fs/2*linspace(0,1,NFFT/2+1);
I wish you could help...
0 commentaires
Réponses (1)
Wayne King
le 4 Juin 2013
I'm assuming you meant "even and odd". Yes, the sampling frequency is 200 kHz for the downsampled by 2 data.
Fs = 400e3;
t = 0:1/Fs:1;
x = cos(2*pi*50e3*t);
xeven = x(1:2:end);
xodd = x(2:2:end);
xeven_dft = fft(xeven);
xodd_dft = fft(xodd);
0 commentaires
Voir également
Catégories
En savoir plus sur Fourier Analysis and Filtering dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!