dpssload
Load discrete prolate spheroidal sequences from database
Description
Examples
Load Database of Slepian Sequences
The file dpss.mat
has four Slepian sequences. Each sequence has 128 samples and time-half-bandwidth product of 3, 6, 9, and 12. Load the sequence with a time-half-bandwidth product of 9.
seqLength = 128; timeHalfBW = 9; [dpsSeqRtrv,lambdaRtrv] = dpssload(seqLength,timeHalfBW);
List the variable information of the retrieved Slepian sequence and frequency-domain energy concentration ratios.
whos dpsSeqRtrv lambdaRtrv
Name Size Bytes Class Attributes dpsSeqRtrv 128x18 18432 double lambdaRtrv 18x1 144 double
Input Arguments
seqLength
— Sequence length
positive integer
Sequence length, specified as a positive integer.
Data Types: single
| double
timeHalfBW
— Time-half-bandwidth product
positive scalar
Time-half-bandwidth product, specified as a positive scalar. This argument must be
less than seqLength/2
.
Data Types: single
| double
Output Arguments
dpsSeq
— Slepian sequences
matrix
Slepian sequences, returned as a matrix with a number of rows equal to
seqLength
and columns equal to
round(2*timeHalfBW)
.
lambda
— Frequency-domain energy concentration ratios
column vector
Frequency-domain energy concentration ratios, returned as a column vector of length equal to the number of Slepian sequences.
More About
Structure of DPSS MAT- file Database
The dpsssave
function creates and stores a file named
dpss.mat
with the DPSS (Slepian sequences) that you generate with the
dpss
function.
The dpsssave
function assigns a location key (1
,
2
, …, n
) and a name (E1
,
V1
, E2
, V2
, ...,
En
, Vn
) for each Slepian sequence that it
generates and stores it in the dpss.mat
file, from the first to the
nth sequence.
A dpss.mat
file with n sequences presents the
following structure:
E1
,E2
, …,En
— Slepian sequences.V1
,V2
, …,Vn
— Frequency-domain energy concentration ratios.index
— Database index, astruct
array with information of the list of sequence lengths, time-half bandwidth products and locations of the Slepian sequences stored in the DPSS MAT-file database. This structure array comprises of the following fields:N
— Vector of sequence lengths. Thedpsssave
function assigns a single entry inN
for each different value of sequence length.Wlist
— Structure array of time-half bandwidth productsNW
and sequence location numberskey
. Thedpsssave
function assigns a sequence locationkey
to each Slepian sequence each time you call it.
next_key
— Next-sequence identification key, defined asnext_key=n+1
wheren
is the number of Slepian sequences stored in the DPSS MAT-file database.
Version History
Introduced before R2006a
Commande MATLAB
Vous avez cliqué sur un lien qui correspond à cette commande MATLAB :
Pour exécuter la commande, saisissez-la dans la fenêtre de commande de MATLAB. Les navigateurs web ne supportent pas les commandes MATLAB.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)