0 < w < .5, with a suggested value of
4./N.The sequence of order
iis placed in the (i+1)-th column of the return value for
i = 0, ... , m - 1. The return value has m columns, N rows, and the same type as w.
These sequences are used as tapers for spectral estimation (see fspec ). There are two important factors corresponding to a taper: its bandwidth (how wide a frequency range it allows leakage over) and its rejection (how much energy is reduced when it is outside that frequency range). If w is small, the frequency range of the allowed leakage will be small. On the other hand, a smaller w leads to more energy leaking outside the allowed range (poorer rejection).
returns the following plot:
N = 128
m = 1
w = 4d0 / N
S = dpss(N, m, w)
gtitle("Discrete Prolate Spheroidal Window")