Capacity of Binary Symmetric Channel (BSC)
% Capacity of Binary Symmetric Channel (BSC)
% function [c,pxy,py]=cap_bsc(px,pe) returns the channel capacity in bits
% per transmitted symbol, the joint probability distribution of the
% input and output of the BSC channel and the probability distribution of
% the BSC output symbols. px is a 2-element vector representing the
% pobability distribution of the input bits (0 and 1). pe is the
% probability of error of the BSC.
% When the resulting channel capacity c is multiplied by the transmission
% rate (given in symbol/second), the maximum bit rate is got, which
% repesents the channel capacity in bits/s.
%
% By: Abdulrahman Ikram Siddiq
% Kirkuk - IRAQ
% Monday Oct.24th 2011 8:07 PM
Cite As
Abdulrahman Siddiq (2024). Capacity of Binary Symmetric Channel (BSC) (https://www.mathworks.com/matlabcentral/fileexchange/33420-capacity-of-binary-symmetric-channel-bsc), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |