title: I want to pull out the number of special characters and the number of vowels in each sentence using a matlab command
body: <p>I have a cell in Matlab with 5 strings in it, each string being a sentence and I want to pull out the number of special characters and the number of vowels in each sentence using a Matlab command.  How would I do this?</p>
  
  <p>Here is my code:</p>
  
  <pre><code>sentences={['Dogs are cool!'];['They love to have their bellies scratched!'];['They     love to run around and play in the grass.'];['Each normal year is equal to seven dog years.'];['Its sad when dogs die.']}
  sentences1=length(sentences{1})
  sentences2=length(sentences{2})
  sentences3=length(sentences{3})
  sentences4=length(sentences{4})
  sentences5=length(sentences{5})
  fprintf('There are %d, %d, %d, %d characters in each sentence respectively. ',     sentences1,sentences2,sentences3,sentences4,sentences5)
  </code></pre>