title: ASCII string to binary vector in MATLAB?
body: <p>How do I convert a string in MATLAB to a binary vector of the ASCII representation of that string?</p>
  
  <p>For example, I want to convert</p>
  
  <pre><code>string = 'Mary had a little lamb';
  </code></pre>
  
  <p>to a vector looking like:</p>
  
  <pre><code>[0 1 0 0 1 1 0 1 0 1 1 0 0 0 0 1, etc.]
  \-------v------/ \-------v------/
          M                a         
  </code></pre>