For those who are working with MATLAB on a 64 bit operating system, please build a 64 mex function for the c code inside the zip folder.
The instruction is as follow:
1. mex -setup (choose the appropriate compiler)
2. mex greedyAlgSingleUser.c (building mex function)
Thanks Hamid, this code is very helpful as a starting point.
However, I have a doubt in your calculation of individual channel SNR's after SC allocation.
In the program channel SNR = Pt / CSI^2, for fourth image.
however, shouldn't it be SNR = Pt*CSI^2/ variance of AWGN ?