Main Content

step

System object: comm.DiscreteTimeVCO
Package: comm

Generate variable frequency sinusoid

Syntax

Y = step(H,X)

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,x) and y = obj(x) perform equivalent operations.

Y = step(H,X) generates a sinusoidal signal, Y, with frequency shifted, from the value you specify in the QuiescentFrequency property, to a value proportional to the input signal, X. The input, X, must be a double or single precision, real, scalar value. The output, Y, has the same data type and size as the input, X.

Note

obj 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. For more information on changing property values, see System Design in MATLAB Using System Objects.