%% Perform Perfect DL Channel Estimation
% Perform perfect channel estimation for a given propagation channel configuration in the downlink.
% Initialize eNodeB and propagation channel configuration structures.

enb.NDLRB = 6;
enb.CyclicPrefix = 'Normal';
enb.CellRefP = 4;
enb.TotSubframes = 1;

%

chs.Seed = 1;
chs.DelayProfile = 'EPA';
chs.NRxAnts = 2;
chs.DopplerFreq = 5.0;
chs.MIMOCorrelation = 'Low';
chs.InitPhase = 'Random';
chs.InitTime = 0.0;
chs.ModelType = 'GMEDS';
chs.NTerms = 16;
chs.NormalizeTxAnts = 'On';
chs.NormalizePathGains = 'On';

%
% Compute the downlink channel estimate and display the dimension of the output channel estimate.

H = lteDLPerfectChannelEstimate(enb,chs);
sizeH = size(H)

% Copyright 2012 The MathWorks, Inc.