Main Content


System object: comm.CoarseFrequencyCompensator
Package: comm

Compensate for frequency offset


Y = step(CFC,X)
[Y,EST] = step(CFC,X)



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(CFC,X) compensates for the carrier frequency offset of the input X and returns the result in Y. X must be a column vector. The step method outputs the compensated signal Y as a complex column vector having the same dimensions and data type as X.

[Y,EST] = step(CFC,X) returns a scalar estimate of the frequency offset, EST.


CFC 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.