Signal Processing Toolbox | Help Desk |
dpss
Discrete prolate spheroidal sequences (Slepian sequences).
[e,v] = dpss(n,nw)
[e,v] = dpss(n,nw,'calc')
[e,v] = dpss(n,nw,'spline')
[e,v] = dpss(n,nw,'spline',Ni)
[e,v] = dpss(n,nw,'linear')
[e,v] = dpss(n,nw,'linear',Ni)
[e,v] = dpss(n,nw,'trace')
[e,v] = dpss(n,nw,'int
','trace')
[e,v] = dpss(n,nw)
generates the first 2*nw
discrete prolate spheroidal sequences (DPSS) of length n
, in the columns of e
, and their corresponding concentrations in vector v
. They are generated in the DPSS MAT-file database dpss.mat
.
|
|
(2
W)
, whereW = nw/n
is the half-bandwidth and e(:,1)
is the length n
signal most concentrated in the frequency band |
|
(2
W)
radians, e(:,2)
is the signal orthogonal to e(:,1)
that is most concentrated in this band, e(:,3)
is the signal orthogonal to both e(:,1)
and e(:,2)
that is most concentrated in this band, etc.
nw
are 2, 5/2, 3, 7/2, or 4.
n
and nw
, DPSS follows these rules for selecting an efficient (although sometimes approximate) algorithm:
[e,v] = dpss(n,nw,'calc')
forces DPSS to calculate e
and v
directly. This can take a long time for large n
and nw
.
[e,v] = dpss(n,nw,'spline')
uses spline interpolation to compute e
and v
from the sequences in dpss.mat
with length closest to n
.
[e,v] = dpss(n,nw,'spline',Ni)
interpolates from existing length Ni
sequences.
[e,v] = dpss(n,nw,'linear')
and
[e,v] = dpss(n,nw,'linear',Ni)
use linear interpolation, which is much faster but less accurate than spline interpolation. 'linear'
requires Ni > n
.
[e,v] = dpss(n,nw,'trace')
and
[e,v] = dpss(n,nw,'int
','trace')
use a trailing 'trace'
argument to find out which method DPSS uses, where '
int
'
is either 'spline'
or 'linear'
.