FT of a sinc pulse with side lobe of 3 and 0

2 次查看(过去 30 天)
HI. Im trying to do the Fourier transform(real and imaginary) of a sinc pulse with central peak of 8 points and side lobe of 3 and 0, respectively. I sort of got the 8 point peak but I dont know how to get the 3 and 0 side lobes.
close all
freq = 0:1:127;
t =-49:0.1:49;
y = sin(pi*t/4)./(t);
FT = (fft(y,256));
r = real(FT);
im = imag(FT);
% plotting the time domain
figure(12); plot(t,y),axis([-50 50 -0.2 0.9])

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Mathematics 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by