• Support PF! Buy your school textbooks, materials and every day products Here!

Von Hann Windowing( HELP)

  • Thread starter andrey21
  • Start date
  • #1
466
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.
 

Answers and Replies

  • #2
uart
Science Advisor
2,776
9
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))
 
  • #3
466
0
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 thats all. Thank you
 

Related Threads on Von Hann Windowing( HELP)

Replies
4
Views
2K
  • Last Post
Replies
1
Views
7K
Replies
1
Views
546
  • Last Post
Replies
5
Views
1K
  • Last Post
Replies
2
Views
979
Replies
0
Views
3K
Replies
16
Views
2K
Replies
1
Views
507
Replies
14
Views
2K
Replies
2
Views
3K
Top