System object: comm.OFDMModulator
Package: comm

Modulate using OFDM method


Y = step(H,X)
Y = step(H,X,PILOT)



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 OFDM modulator System object, H, and returns the baseband modulated output, Y, which is a double-precision, 2-D array with complex values. The input, X, is a numeric, real or complex 3-D array of symbols (typically created with a baseband demodulator, e.g., QPSK). Its dimensions are a function of the number of subcarriers, the number of guard band subcarriers, the number of pilot subcarriers, and whether or not there is a DC null. You can determine the dimensions by using the info method.

Y = step(H,X,PILOT) maps the PILOT signal onto the subcarriers specified by the PilotCarrierIndices property of H. The input PILOT is a numeric, real or complex 3-D array. This syntax applies when the PilotInputPort property of H is true. The info method provides the dimensions of the PILOT array.


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 (MATLAB) 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.