File:Spectral leakage from a sinusoid and rectangular window.png

From formulasearchengine
Jump to navigation Jump to search
Original file (508 × 412 pixels, file size: 47 KB, MIME type: image/png)

This file is from Wikimedia Commons and may be used by other projects. The description on its file description page there is shown below.

Transferred from en.wikipedia to Commons by Maksim.

The original description page was here. All following user names refer to en.wikipedia.

Summary

Description
English: This is a portion of the DTFT for a rectangularly-windowed sinusoid. The actual frequency of the sinusoid is indicated as "0" on the horizontal axis. Everything else is leakage. The unit of frequency is "DFT bins"; that is, the integer values on the frequency axis correspond to the frequencies sampled by the DFT. So the figure depicts a case where the actual frequency of the sinusoid happens to coincide with a DFT sample, and the maximum value of the spectrum is accurately measured by that sample. When it misses the maximum value by some amount [up to 1/2 bin], the measurement error is referred to as scalloping loss (inspired by the shape of the peak). But the most interesting thing about this case is that all the other samples coincide with nulls in the true spectrum. (The nulls are actually zero-crossings.) So in this case, the DFT creates the illusion of no leakage.
Date
Source Own work     I created this image myself, using Matlab tools and PowerPoint to annotate the graph and create a png file.
Author Bob K
Permission
(Reusing this file)
Public domain I, the copyright holder of this work, release this work into the public domain. This applies worldwide.
In some countries this may not be legally possible; if so:
I grant anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law.
Other versions
File:Spectral leakage caused by "windowing".svg is a vector version of this file. It should be used in place of this PNG file when not inferior.

File:Spectral leakage from a sinusoid and rectangular window.png → File:Spectral leakage caused by "windowing".svg

For more information, see Help:SVG.

In other languages
Alemannisch  العربية  беларуская (тарашкевіца)  български  বাংলা  català  нохчийн  čeština  dansk  Deutsch  Ελληνικά  English  British English  Esperanto  español  eesti  euskara  فارسی  suomi  français  Frysk  galego  Alemannisch  עברית  हिन्दी  hrvatski  magyar  հայերեն  Bahasa Indonesia  Ido  italiano  日本語  ქართული  한국어  lietuvių  македонски  മലയാളം  Bahasa Melayu  မြန်မာဘာသာ  norsk bokmål  Plattdüütsch  Nederlands  norsk nynorsk  norsk  occitan  polski  prūsiskan  português  português do Brasil  română  русский  sicilianu  Scots  slovenčina  slovenščina  српски / srpski  svenska  தமிழ்  ไทย  Türkçe  татарча / tatarça  українська  vèneto  Tiếng Việt  中文  中文(中国大陆)  中文(简体)  中文(繁體)  中文(马来西亚)  中文(新加坡)  中文(臺灣)  +/−
New SVG image

Script
InfoField

Matlab

N=128;
k=0:N-1;
dr = 60;
w = ones(1,N);
% 
H = abs(fft([w zeros(1,7*N)]));
H = fftshift(H);
H = H/max(H);
H = 20*log10(H);
H = max(-dr,H);
x = -4.5*8 : 7.5*8;
H = H(x + 1+4*N);
%
figure
h = area(x/8,H,'FaceColor', [.871 .49 0], 'Linestyle', 'none')
set(h,'BaseValue',-dr)
ylim([-dr 0])
set(gca,'XTick', -4:7)
grid on
ylabel('decibels')
xlabel('DFT bins')
title('"Leakage" from a sinusoid (rectangular window)')


This image (or all images in this category) uses inside labels or attached captions in a specific script or language and should be converted to a language neutral form. This would allow its use in all Wikimedia projects and, more importantly, all Wikimedia languages.

беларуская (тарашкевіца)  català  čeština  Deutsch  English  español  فارسی  suomi  français  magyar  italiano  日本語  한국어  македонски  Bahasa Melayu  Plattdüütsch  Nederlands  português  русский  sicilianu  slovenčina  slovenščina  српски / srpski  中文  中文(简体)  +/−

date/time username edit summary
01:47, 17 December 2005 en:User:Bob K (I created this image myself, using Matlab tools.)

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

17 December 2005

image/png

47,726 byte

412 pixel

508 pixel

45e1b11989520c6cf031ed720c5dd9b8adfeec58

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current07:25, 17 December 2011Thumbnail for version as of 07:25, 17 December 2011508 × 412 (47 KB)wikimediacommons>Bob KRemove gray border. Annotate sidelobes, main lobe, sidelobe level.

There are no pages that use this file.