title: How to encode with parity Check Matrix?
body: <p>I want to encode information block with parity check matrix.</p>
  
  <p>I have the hamming code <code>(7,4,3)</code> with parity check matrix <code>H</code>and I want to encode the information block <code>m = [0 0 1]</code>.</p>
  
  <pre><code>H = [1 1 0 1 1 0 0
       1 0 1 1 0 1 0
       0 1 1 1 0 0 1];
  </code></pre>
  
  <p>With generator matrix I just use this formula : <code>codeword = mod(word*G,2)</code>, but I have no idea how to encode using the parity check matrix. </p>
  
  <p>Thanks!</p>