Applying Von Hann Windowing to a Data Set with N=3144

  • Thread starter Thread starter andrey21
  • Start date Start date
andrey21
Messages
475
Reaction score
0
I have been asked to apply a suitable window to a data set, for this I have chosen Von Hann's approach



This is the formula I know must be used


w(n) = 0.5-0.5 cos (2* PI* n/N)

where n = 0,1,2,3...N-1
N= number of terms


My question is how do I apply this to an already given data set, with N=3144? Do I simply use n=0,1,2 or other values.
 
Physics news on Phys.org
andrey21 said:
I have been asked to apply a suitable window to a data set, for this I have chosen Von Hann's approach



This is the formula I know must be used


w(n) = 0.5-0.5 cos (2* PI* n/N)

where n = 0,1,2,3...N-1
N= number of terms


My question is how do I apply this to an already given data set, with N=3144? Do I simply use n=0,1,2 or other values.

Yes just use n-0,1,2,..N-1 and simply multiply each element x(n) of your data by the corresponding w(n) of the Window.

Notes.

1. Consider using w(n) = 0.5-0.5 cos (2* PI* n/(N-1)) for better symmetry.

2. Even better to use the Hamming Window. w(n) = 0.54-0.46 cos (2* PI* n/(N-1))
 
Thank you uart, so as my data set consists of 3144 terms the equation for either Von or Hamming would be:

w(n)= 0.5-0.5cos(2*PI*n/3143)

or

w(n) = 0.54-0.46cos(2*PI*n/3143)

Also is it more common to use N-1 rather than N as you said for better symmetry, I have only seen N used that's all. Thank you
 
Prove $$\int\limits_0^{\sqrt2/4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx = \frac{\pi^2}{8}.$$ Let $$I = \int\limits_0^{\sqrt 2 / 4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx. \tag{1}$$ The representation integral of ##\arcsin## is $$\arcsin u = \int\limits_{0}^{1} \frac{\mathrm dt}{\sqrt{1-t^2}}, \qquad 0 \leqslant u \leqslant 1.$$ Plugging identity above into ##(1)## with ##u...
Back
Top