The hann_poisson_window command finds a Hann-Poisson window of a sequence.
| wk= |
| ⎛ ⎜ ⎜ ⎝ | 1−cos |
| ⎞ ⎟ ⎟ ⎠ | exp | ⎛ ⎜ ⎜ ⎝ | − |
| ⎞ ⎟ ⎟ ⎠ |
Example.
Input:
| L0:=randvector(1000,0..1):; |
| scatterplot(L0); |
Output:
Input:
| L:=hann_poisson_window(L0,2):; |
| scatterplot(L); |
Output: