function [ x ] = simhamming( p )
%bsc Summary of this function goes here
%   Detailed explanation goes here

m = bsc(4,0.5) ;
c = hammingenc(m) ;
e = bsc(7,p) ;
m1 = hammingdec(c+e)
x = max(m~=m1) ;
