title: MATLAB string handling
body: <p>I want to calculate the frequency of each word in a string. For that I need to turn string into an array (matrix) of words.</p>
  
  <p>For example take <code>"Hello world, can I ask you on a date?"</code> and turn it into </p>
  
  <pre><code>['Hello' 'world,' 'can' 'I' 'ask' 'you' 'on' 'a' 'date?']
  </code></pre>
  
  <p>Then I can go over each entry and count every appearance of a particular word.</p>
  
  <p>Is there a way to make an array (matrix) of words in MATLAB, instead of array of just chars?</p>