Code covered by the BSD License  

Highlights from
MATLAB for Digital Communication

image thumbnail

MATLAB for Digital Communication

by

 

The MATLAB programs in "MATLAB/Simulink for Digital Communication" authored by Won Y. Yang et. al

pemb_t=prob_err_msg_bit(et,N,No_of_correctable_error_bits)
function pemb_t=prob_err_msg_bit(et,N,No_of_correctable_error_bits)
pemb_t=0; % Theoretical message bit error probability by Eq.(9.4.11)
for k=No_of_correctable_error_bits+1:N 
   pemb_t= pemb_t +k*nchoosek(N,k)*et.^k.*(1-et).^(N-k)/N;
end

Contact us