1. Calculate the power in the transmitted signal, 'SignalPower':
If 'X' represents the transmitted signal waveform, then the
following MATLAB code will calculate the signal power:
N = length(X);
SignalPower = X*X'/N;
2. Estimate the noise power based on the signal-to-noise ratio
specified in the AWGN function call. For example, in the Communication SystemToolbox , we can use
y = awgn(x,snr)
Where snr = SignalPower/Noise Power.
Since, we know Signal Power from 1 and know the value of snr from the AWGN function-call, the noise power can be calculate thereafter.
3. Calculate the total power in the received signal using the same
method as that for 'X' above.
4. Calculate the interference power as follows:
InterferePower = TotalPower - NoisePower - SignalPower;
5. Calculate the Carrier-To-Interference Ratio in dB as follows:
CIR = 10*log10(SignalPower/InterferePower);
Best Answer