The blackman_harris_window command finds a Blackman-Harris window of a sequence.
| wk=a0−a1 cos | ⎛ ⎜ ⎜ ⎝ |
| ⎞ ⎟ ⎟ ⎠ | +a2 cos | ⎛ ⎜ ⎜ ⎝ |
| ⎞ ⎟ ⎟ ⎠ | −a3 cos | ⎛ ⎜ ⎜ ⎝ |
| ⎞ ⎟ ⎟ ⎠ |
Example.
Input:
| L0:=randvector(1000,0..1):; |
| scatterplot(L0); |
Output:
Input:
| L:=blackman_harris_window(L0):; |
| scatterplot(L); |
Output: