Hi,
I have made the simulation code for SC-FDMA, I want evaluate to its PAPR, how should I calculate it. Please help, here I am calculating in this way:
for ii = 1:OFDMSym
outputiFFT=Transmitted_data(ii,;
meanSquareValue = outputiFFT*outputiFFT'/length(outputiFFT);
peakValue = max(outputiFFT.*conj(outputiFFT));
paprSymbol(ii) = peakValue/meanSquareValue;
end
paprSymboldB = 10*log10(paprSymbol);
[n x] = hist(paprSymboldB,[0:0.5:15]);
plot(x,cumsum/OFDMSym,'LineWidth',4)
but it results in straight line (wrong output).......
Shouldn't the number of point be a power of 2 when you run radix-2 algorithm ? Or you just run zero stuffing to the nearest power of 2.
The easiest way is reversing the bit order of time domain index, applying 2 point butterfly operation on two data next each other, and then 4 points, then 8 points..... till your target point with butterfly operation.
Richard Lyons' book explains it in very plain and easy way.