title: how to create logical matrix directly in matlab
body: <p>I have so far been using </p>
  
  <pre><code> a = logical(zeros(10,10))
  </code></pre>
  
  <p>to create logical matrix.</p>
  
  <p>Is there a way to create it directly?</p>