Modulation of data bits into complex symbols in MATLAB
The method step(H,X) used here has nothing to do with the step function. It modulates the input data X with the modulator object H, as described here. See also here.