smalandr
Newbie level 4
Hi,
would it be possible for somebody to explain the best way to distinguish the n points of my signal and the points of my fft window ?
I have a simple sinusoidal (as analog as Matlab can give me). I want to see the fft response in different kind of fft points.
I use the following code.
fs=44100;
nsignal=44100;
t=[0:nsignal-1]/fs;
y=0.7*sin(2*1000*pi*t);
n1=4096;
Y=fft(y,4096);
Y=abs(Y);
Y=Y(1:round(end/2));
Y=20*log10(Y);
freq=(0:fs/(n1-1):22050);
semilogx(freq,Y)
I don't like my result - doesn't seem like a good 4096 window for an "analog" signal. My noise floor is too high. Any ideas ?
would it be possible for somebody to explain the best way to distinguish the n points of my signal and the points of my fft window ?
I have a simple sinusoidal (as analog as Matlab can give me). I want to see the fft response in different kind of fft points.
I use the following code.
fs=44100;
nsignal=44100;
t=[0:nsignal-1]/fs;
y=0.7*sin(2*1000*pi*t);
n1=4096;
Y=fft(y,4096);
Y=abs(Y);
Y=Y(1:round(end/2));
Y=20*log10(Y);
freq=(0:fs/(n1-1):22050);
semilogx(freq,Y)
I don't like my result - doesn't seem like a good 4096 window for an "analog" signal. My noise floor is too high. Any ideas ?