Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

step

System object: comm.KasamiSequence
Package: comm

Generate a Kasami sequence

Syntax

Y = step(H)
Y = step(H,RESET)

Description

    Note:   Starting in R2016b, instead of using the step method to perform the operation defined by the System object™, you can call the object with arguments, as if it were a function. For example, y = step(obj) and y = obj() perform equivalent operations.

Y = step(H) outputs a frame of the Kasami sequence in column vector Y. Specify the frame length with the SamplesPerFrame property. The Kasami sequence has a period of N = 2n-1, where n is the degree of the generator polynomial that you specify in the Polynomial property.

Y = step(H,RESET) uses RESET as the reset signal when you set the ResetInputPort property to true. The data type of the RESET input must be double precision or logical. RESET can be a scalar value or a column vector with a length equal to the number of samples per frame that you specify in the SamplesPerFrame property. When the RESET input is a non-zero scalar, the object resets to the initial conditions that you specify in the InitialConditions property. It then generates a new output frame. A column vector RESET input allows multiple resets within an output frame. A non-zero value at the i-th element of the vector causes a reset at the i-th output sample time.

    Note:   H specifies the System object on which to run this step method.

    The object performs an initialization the first time the step method is executed. This initialization locks nontunable properties and input specifications, such as dimensions, complexity, and data type of the input data. If you change a nontunable property or an input specification, the System object issues an error. To change nontunable properties or inputs, you must first call the release method to unlock the object.

Was this topic helpful?