title: Need Help Implementing a Basic Binary Symmetric Channel In Matlab
body: <p>I am working through Cover, Thomas "Elements of Information Theory" and want to try and implement a simple example of a binary symmetric channel. That is to say, I can specify a message "1001", an encoding "11000011" (basically repeat each bit twice), a channel law: p(y|x), and I'd like to see my posterior at the receiver update. </p>
  
  <p>Now in all honesty, I don't even know where to begin, and I can't seem to find much hlep online. Most of what I find is using Matlab's simulink to abstract away the process. I actually want to specify distributions as vectors, etc etc. Any pointers would be great! </p>
  
  <p>Edit: I don't know if this question fits better over at DSP.SE but if so, I can move it over. </p>