Signal Processing Toolbox Previous page   Next Page
dpss

Discrete prolate spheroidal sequences (Slepian sequences)

Syntax

Description

[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 also generated in the DPSS MAT-file database dpss.mat. nw must be less than n/2.

[e,v] = dpss(n,nw,k) returns the k most band-limited discrete prolate spheroidal sequences. k must be an integer such that 1kn.

[e,v] = dpss(n,nw,[k1 k2]) returns the k1st through the k2nd discrete prolate spheroidal sequences, where 1k1k2n.

For all of the above forms:

[e,v] = dpss(n,nw,'int') uses the interpolation method specified by the string 'int' to compute e and v from the sequences in dpss.mat with length closest to n. The string 'int' can be either:

[e,v] = dpss(n,nw,'int',Ni) interpolates from existing length Ni sequences. The interpolation method 'linear' requires Ni > n.

[e,v] = dpss(...,'trace') uses the trailing string 'trace' to display which interpolation method DPSS uses. If you don't specify the interpolation method, the display indicates that you are using the direct method.

Examples

Example 1: Using dpss, dpssave, and dpssdir

Create a catalogue of 16 DPSS functions with nw = 4, and use spline interpolation on 10 of these functions while displaying the interpolation method you use. You can do this using dpss, dpsssave, and dpssdir:

Example 2: Using dpss and dpssload

Create a set of DPSS functions using dpss, and use the spline method on a subset of these functions. Use dpssload to load the MAT-file created by dpss:

See Also

dpssclear, dpssdir, dpssload, dpsssave, pmtm

References

[1] Percival, D.B., and A.T. Walden. Spectral Analysis for Physical Applications: Multitaper and Conventional Univariate Techniques. Cambridge: Cambridge University Press, 1993.


Previous page  downsample dpssclear Next page

© 1994-2005 The MathWorks, Inc.