File:Window function (hann).svg

Uploaded by Alejo2083
Upload date 2007-10-22T20:27:36Z
MIME type image/svg+xml
Dimensions 906 × 346 px
File size 476.8 KB
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 consensus.
new file

Summary

Description
English: Hann window and frequency response. I saved both plots in EPS, then I converted them to SVG with Scribus and merged them with Inkscape
Date
Source Own work based on: Window function (hann).png by Bob K
Author
Vector:
Other versions Derivative works of this file:  Window function and frequency response - Hann.svg
SVG development
InfoField
 The SVG code is valid.
 This vector image was created with Inkscape.
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 consensus.
new file
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  中文  中文(简体)  +/−

Licensing

Public domain This work has been released into the public domain by its author, Alessio Damato. This applies worldwide.
In some countries this may not be legally possible; if so:
Alessio Damato grants anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law.

Source code

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)')

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

15 December 2005

image/svg+xml

488,196 byte

346 pixel

906 pixel

007e74e4d49808cb9e6be55f4d09d65f3140a210

Category:Files with derivative versions Category:Images requiring internationalisation Category:Images with MATLAB source code Category:PD-self Category:Self-published work Category:Short-time Fourier transform Category:Superseded Category:Valid SVG created with Inkscape Category:Vectorizations Category:Window function