1)SNR estimation:
<span style="font-size:18px;">if LTE_params.SNR_estimation
[S_plus_noise_power N_power] = LTE_SNR_estimator(LTE_params,y_rx_unsync);
Noise_power = sum(mean(N_power,1));
Signal_power = sum(S_plus_noise_power) - Noise_power;
SNR = 10*log10(Signal_power/Noise_power);
sigma_n2 = 10^(-SNR/10);
y_rx_unsync(1:LTE_params.number_of_zeros_for_SNR_estimation,:) = [];
%y_rx_unsync(end-LTE_params.number_of_zeros_for_SNR_estimation+1:end,:) = [];
y_rx_unsync = y_rx_unsync(1:LTE_params.Fs*LTE_params.Tsubframe,:);
UE_output(uu).Signal_plus_noise_power = S_plus_noise_power;
UE_output(uu).Noise_power = N_power;
else
UE_output(uu).Signal_plus_noise_power = 1;
UE_output(uu).Noise_power = sigma_n2;
end</span>
2)Carrier frequency offset compensation
3)Remove CP,FFT and remove zeros
4)Disassemble reference symbols
5)Channel and noise estimation
6)Disassemble symbols
7)Perform detection
8)SINR Calculation
9)Undo layer mapping
10)Decoding