I have matlab simulation for rayleigh fading with BPSK and have calculated its ergodic capacity with the formula:
C=mean(log2(1+h^2*SNR))
but I want to calculate the actual rate which I am achieving without using above formula, I mean I want to calculate capacity of the same channel with the probability of error, number of bits transmitted, or anything thing else but dont want to use the formula.
I want to see the simulated capacity, not using specific formula ..
Please use MATLAB to implement.
you have to discritize it eg. 0 to 30 db for SNR and than find the capacity.
Actually there is no other way to find the capacity without formulae. The formulae you mentioned is the Capacity formulae of Shannon its absolutely right
I think the response from gaffer would require you to know how to calculate mutual information, and if your decoding is an iterative decoder, I 'd rather say you plot an exit function if you can ( can give some tips here if you wish), and then your xmission rate would simply be A*R*log(2)M
where A is the area underneath your exit function
R is your xmission rate and
M is the ary of modulation e.g QPSK=4, BPSK =2.