Show older comments
Hi All,
I have 3 different separate I and Q signals at 48K. Can any one explain how to do a weighted complex FFT on the three different I and Q Signals.
Accepted Answer
More Answers (3)
Wayne King
on 3 May 2012
Why do you want to weight them? And by weight, do you simply mean window the signals?
fft() accepts a complex-valued input with no problem
t = (0:0.001:1-0.001)';
x = exp(1j*2*pi*100*t)+complex(randn(size(t)),randn(size(t)));
% and if by weight, you mean window the I and Q channels
x = x.*complex(hamming(length(x)),hamming(length(x)));
xdft = fft(x);
Vivekanandh
on 4 May 2012
0 votes
Vivekanandh
on 4 May 2012
0 votes
1 Comment
Dr. Seis
on 4 May 2012
The DC will just be your dftsig1(1) value. You can remove the DC component by removing the mean of your input signal to the FFT (i.e., sig1).
Categories
Find more on Get Started with Signal Processing Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!