Main Content

Discrete prolate spheroidal or Slepian sequence database

`dpsssave(time_halfbandwith,dps_seq,lambda)`

status = dpsssave(time_halfbandwith,dps_seq,lambda)

`dpsssave(time_halfbandwith,dps_seq,lambda)`

creates
a database of discrete prolate spheroidal (DPSS) or Slepian sequences
and saves the results in `dpss.mat`

. The time half
bandwidth product`time_halfbandwith`

is a real-valued
scalar determining the frequency concentration of the Slepian sequences
in `dps_seq`

. `dps_seq`

is a *NxK* matrix
of Slepian sequences where *N* is the length of the
sequences. `lambda`

is a *1xK* vector
containing the frequency concentration ratios of the Slepian sequences
in `dps_seq`

.

If the database `dpss.mat`

exists, subsequent
calls to `dpsssave`

append the Slepian sequences
to the existing file. If the sequences are already in the existing
file, `dpsssave`

overwrites the old values and issues
a warning.

`status = dpsssave(time_halfbandwith,dps_seq,lambda)`

returns
a 0 if the database operation was successful or a 1 if unsuccessful.

Percival, D. B., and A. T. Walden. *Spectral Analysis
for Physical Applications.* Cambridge, UK: Cambridge University
Press, 1993.