Select your preferred scripting language. All code snippets will be displayed in this language.
History
W[n] = 0.5 * (1.0 - COS(n/N) ).