This window function returns a vector of weights with means of a cosine window
win.cos(n)
n
data vector to be windowed
Windowfunctions