title: MATLAB: finding index of an element in a multidimensional cell array with mixed data types
body: <p>Like the title says. How do I find the index of a specific element in a matlab cell array? The content of the cell array contains both strings and numbers.</p>
  
  <p>Toy example:</p>
  
  <pre><code>database = cell(4,2)
  database(1,1:2) = {'Song', 'Rating'}
  database(2:4,1) = {'Song1'; 'Song2'; 'Song3'}
  database(2:4,2) = {1; 2; 5}
  
  functionIWant(database, 'Song2') % Should return [3,1] or something similar
  </code></pre>
  
  <p>I know I can convert it to a matrix, iterate over it and thereby find the right index. I'm wondering however if there is any faster method working directly on cell arrays.</p>