mask2shift
Convert mask vector to shift for linear shift register
Description
returns the shift that is equivalent to a mask vector for a linear feedback shift register
with connections specified by the primitive polynomial shift
= mask2shift(prpoly
,mask
)prpoly
.
Note
The input prpoly
must be primitive to produce a meaningful
output. Use the isprimitive
function to check if
prpoly
is primitive. For more information, see primpoly
or [2].
Examples
Input Arguments
More About
References
[1] Lee, J. S., and L. E. Miller, CDMA Systems Engineering Handbook, Boston, Artech House, 1998.
[2] Simon, Marvin K., Jim K. Omura, et al., Spread Spectrum Communications Handbook, New York, McGraw-Hill, 1994.
Version History
Introduced before R2006a
See Also
shift2mask
| log
| isprimitive
| primpoly