%% Perform Downlink Precoding on Identity Matrix
% Perform downlink precoding using an identity matrix as input.
% By precoding an identity matrix, you can gain access to the precoding matrices. Obtain the precoding matrix having codebook index 1 for three layers and four antennas.

out = lteDLPrecode(eye(3),4,'SpatialMux',1).'

% Copyright 2012 The MathWorks, Inc.