The gaussian_window command finds a Gaussian window of a sequence.
| wk=exp | ⎛ ⎜ ⎜ ⎜ ⎜ ⎜ ⎝ | − |
| ⎛ ⎜ ⎜ ⎝ |
| ⎞ ⎟ ⎟ ⎠ |
| ⎞ ⎟ ⎟ ⎟ ⎟ ⎟ ⎠ |
Example.
Input:
| L0:=randvector(1000,0..1):; |
| scatterplot(L0); |
Output:
Input:
| L:=gaussian_window(L0,0.4):; |
| scatterplot(L); |
Output: