comm.KasamiSequence
Generate Kasami sequence
Description
The comm.KasamiSequence
System object™ generates a sequence from the set of Kasami sequences. The Kasami sequences are
a set of sequences that have cross-correlation properties. For more information, see Kasami Sequences.
To generate a Kasami sequence:
Create the
comm.KasamiSequence
object and set its properties.Call the object with arguments, as if it were a function.
To learn more about how System objects work, see What Are System Objects?
Creation
Description
creates a
KasamiSequence System object. This object generates a Kasami sequence.kasamiseq
= comm.KasamiSequence
sets Properties using one or more name-value arguments. For example,
kasamiseq
= comm.KasamiSequence(Name
,Value
)'Polynomial'
,'z^8 + z^4 + z^3 + z^2 + 1'
specifies
the generator polynomial.
Properties
Usage
Syntax
Description
generates a Kasami sequence.outsequence
= kasamiseq()
specifies the length of the output sequence.outsequence
= kasamiseq(outputsize
)
To enable this syntax, set the VariableSizeOutput
property to 1
(true
).
specifies a reset signal for the sequence generator.outsequence
= kasamiseq(resetseq
)
To enable this syntax, set the ResetInputPort
property to
1
(true
).
specifies the length of the output sequence and the reset signal for the sequence
generator.outsequence
= kasamiseq(outputsize
,resetseq
)
To enable this syntax, set the VariableSizeOutput
property to 1
(true
) and the ResetInputPort
property to
1
(true
).
Input Arguments
Output Arguments
Object Functions
To use an object function, specify the
System object as the first input argument. For
example, to release system resources of a System object named obj
, use
this syntax:
release(obj)
Examples
More About
References
[1] Proakis, John G. Digital Communications. 4th ed. New York: McGraw Hill, 2001.
[2] Sarwate, D.V., and M.B. Pursley. “Crosscorrelation Properties of Pseudorandom and Related Sequences.” Proceedings of the IEEE® 68, no. 5 (1980): 593–619. https://doi.org/10.1109/PROC.1980.11697.
[3] Peterson, W. Wesley, and E. J. Weldon. Error-Correcting Codes. 2d ed. MIT Press, 1972.
Extended Capabilities
Version History
Introduced in R2012a