function y = AmplitudeModulatorSampled(pccE, dModulation);

global ModulationIndex

nSize = length(pccE);
dModL = length(dModulation);

resize = ones(1, nSize/dModL);
resize = kron(dModulation, resize);
resize(nSize+1:end) = [];



for i = 1:nSize,
   pccE(i) =  pccE(i) * sqrt( (1 - ModulationIndex) + ModulationIndex * resize( i ) );
end;

y = pccE;