01-19-2017 08:24 PM
Hi all,
I have a problem now, I'm now using FFT LogiCORE IP do FFT arithmetic ,temporarily configuration for stream mode ,but I found that this process is carried out within the FFT LogiCORE IP frame split, and then the FFT arithmetic, now I want to implement a function, I would like to FFT the input data add the window function,(for example hamming window), this what should I do?
The following is what I want to realize the matlab code:
//////////////////////////////////////////////////////////////
clear ;
close all;
Fs=1000;
T=1/Fs;
Tp=1.06;
N=Tp*Fs;
w=100*pi;
n=1:N;
Xn=12*sin(w*n*T+10*pi/180);
wn=hamming(N);
wn1=boxcar(N);
Xn1=Xn.*wn'; %%%%%%%%%%I want to implement this function
xh=fft(Xn1,4096);
figure ;
plot(20*log10(abs(xh)));
///////////////////////////////////////////////////////////////
01-19-2017 09:04 PM
01-20-2017 06:19 PM
Hi, thank you for your reply.
I want to achieve this function, do you have any good Suggestions?
if I want use the xilinx LogiCORE IP,What should I do ?
01-20-2017 06:21 PM
02-08-2021 08:07 PM - edited 02-08-2021 08:08 PM
Enough people have looked at this so,
To apply a window,