Main Content


System object: comm.GeneralQAMModulator
Namespace: comm

Modulate using arbitrary QAM constellation


Y = step(H,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(H,X) modulates input data, X, with the general QAM modulator System object, H. It returns the baseband modulated output, Y. The input must be an integer scalar or an integer-valued column vector. The data type of the input can be numeric or unsigned fixed point of word length ceil(log2(ModulationOrder)) (fi object).


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.