I have uploaded a Matlab program for simulation of CDMA. You can use it but must acknowledge the author