FT of a sinc pulse with side lobe of 3 and 0
Show older comments
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])
Answers (0)
Categories
Find more on Array Geometries and Analysis 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!