Matlab Help QPSK with ZeroForcing plz
Heia....
I Need Help in Matlab Command with QPSK for ZeroForcing and ask about something if i have
N=2;
Symbols = [ 1+j 1-j -1+j -1-j ]';
1- How to make X choose a 2 random from Symbols ?
2- How to calculate the closest consellation point for each decoded received Symbol ?
3- How to move each calculated symbol to the nearest consellation point ?
I need Matlab commands for this 3 questions
thanks alot....
I Need Help in Matlab Command with QPSK for ZeroForcing and ask about something if i have
N=2;
Symbols = [ 1+j 1-j -1+j -1-j ]';
1- How to make X choose a 2 random from Symbols ?
2- How to calculate the closest consellation point for each decoded received Symbol ?
3- How to move each calculated symbol to the nearest consellation point ?
I need Matlab commands for this 3 questions
thanks alot....
0
Comments
will find you the closest symbol and the distance to it.
can u check if this code is right or wrong thanks alot
N = 2;
Symbols=[1+j 1-j -1+j -1-j];
H = randn(N,N) + j*randn(N,N);
X= ceil (rand (1,2)*4);
Symbols(x)
% what is the closest constellation point for each decoded received symbol
dist = Symbols - rx_symbol;
% move each calculated symbol to nearest constellantion point
[min_dist, index] = min(dist)