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

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Spectral_leakage_from_a_sinusoid_and_rectangular_window.png (508 × 412 pixels, file size: 47 KB, MIME type: image/png)

Captions

Captions

Add a one-line explanation of what this file represents

Transferred from en.wikipedia to Commons by Maksim.

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

Summary

[edit]
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  Bahasa Indonesia  Bahasa Melayu  British English  català  čeština  dansk  Deutsch  eesti  English  español  Esperanto  euskara  français  Frysk  galego  hrvatski  Ido  italiano  lietuvių  magyar  Nederlands  norsk bokmål  norsk nynorsk  occitan  Plattdüütsch  polski  português  português do Brasil  română  Scots  sicilianu  slovenčina  slovenščina  suomi  svenska  Tiếng Việt  Türkçe  vèneto  Ελληνικά  беларуская (тарашкевіца)  български  македонски  нохчийн  русский  српски / srpski  татарча/tatarça  українська  ქართული  հայերեն  বাংলা  தமிழ்  മലയാളം  ไทย  한국어  日本語  简体中文  繁體中文  עברית  العربية  فارسی  +/−
New SVG image

Script
InfoField

Matlab code

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.

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

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

File history

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

Date/TimeThumbnailDimensionsUserComment
current05:25, 17 December 2011Thumbnail for version as of 05:25, 17 December 2011508 × 412 (47 KB)Bob K (talk | contribs)Remove gray border. Annotate sidelobes, main lobe, sidelobe level.
20:04, 20 March 2006Thumbnail for version as of 20:04, 20 March 2006514 × 421 (6 KB)Maksim (talk | contribs)La bildo estas kopiita de wikipedia:en. La originala priskribo estas: == Summary == I created this image myself, using Matlab tools. == Licensing == {{PD-self}} {| border="1" ! date/time || username || edit summary |---- | 01:47, 17 December 2005 || [[:

There are no pages that use this file.

File usage on other wikis

The following other wikis use this file:

Metadata