How to find the start and end coordinates of main-lobe of rectangular window spectrum.
7 views (last 30 days)
Show older comments
The rectangular window spectrum is found like
M=66;
r=rectwin(M);
n=512;
r_fft=fft(r,n);
r_fft2=fftshift(r_fft);
r_fftdB=20*log10(abs(r_fft2));
figure
plot(1:n,r_fftdB)
title(M)
The plotted spectrum is
The spectrum is symmetrical about the peak of main-lobe. The starting of main-lobe is at coordinate 249. The ending of the main-lobe is at 265, The peak of main-lobe is at 257.
How to find the values of staring and ending coordinates of main-lobe (249,265 respectively)?
2 Comments
Answers (1)
See Also
Categories
Find more on Pulsed Waveforms 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!