title: Convert logical to matrix with MatLab
body: <p>In MatLab environment, how can one convert <strong>Logical</strong> to matrix form?</p>
  
  <p>For example, consider the logical below: </p>
  
  <blockquote>
  <pre><code> [0 1 0 1]
   [0 0 1 0]
   [1 0 1 1]
   [0 1 0 0]
  </code></pre>
  </blockquote>