File:Window function (hann).svg

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

Original file (SVG file, nominally 906 × 346 pixels, file size: 477 KB)

Captions

Captions

Add a one-line explanation of what this file represents
This file has been superseded by Window function and frequency response - Hann.svg. It is recommended to use the other file. Please note that deleting superseded images requires consent.
new file

Summary

[edit]
Description
English: Hann window and frequency response
Date
Source Own work     I saved both plots in EPS, then I converted them to SVG with Scribus and merged them with Inkscape
Author Bob K, converted to SVG by Alessio Damato
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

This file was derived from: Window function (hann).png

Derivative works of this file:  Window function and frequency response - Hann.svg
SVG development
InfoField
 
The SVG code is valid (3 warnings)
 
This vector image was created with Scribus by Alejo2083.
Matlab source
InfoField
click to expand

This graphic was created with the help of the following Matlab script:

N=128;
k=0:N-1;

dr = 100;
w = 0.5 - 0.5*cos(2*pi*k/(N-1));

B = N*sum(w.^2)/sum(w)^2    % noise bandwidth (bins)

H = abs(fft([w zeros(1,7*N)]));
H = fftshift(H);
H = H/max(H);
H = 20*log10(H);
H = max(0,dr+H);

figure
area(k,w,'FaceColor', [0 .4 .6])
xlim([0 N-1])
set(gca,'XTick', [0 : 1/8 : 1]*(N-1))
set(gca,'XTickLabel','0| | | | | | | |N-1')
grid on
ylabel('amplitude')
xlabel('samples')
title('Window function (Hann)')

figure
stem(([1:(8*N)]-1-4*N)/8,H,'-');
set(findobj('Type','line'),'Marker','none','Color',[.871 .49 0])
xlim([-4*N 4*N]/8)
ylim([0 dr])
set(gca,'YTickLabel','-100|-90|-80|-70|-60|-50|-40|-30|-20|-10|0')
grid on
ylabel('decibels')
xlabel('DFT bins')
title('Frequency response (Hann)')

Improvements

[edit]
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  한국어  日本語  中文  中文(简体)‎  فارسی  +/−

File history

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

Date/TimeThumbnailDimensionsUserComment
current20:27, 22 October 2007Thumbnail for version as of 20:27, 22 October 2007906 × 346 (477 KB)Alejo2083 (talk | contribs)== Summary == {{Information |Description= Hann window and frequency response |Source=self-made |Date=15-Dec-2005 |Author= Bob K, converted to SVG by ~~~ }} source: http://en.wikipedia.org/wiki/Window_Function author: http://en.wikipedia.o

File usage on other wikis

The following other wikis use this file: