title: How do I solve a determinant in MATLAB?
body: <p>As a simple example, let's say you have this matrix:</p>
  
  <pre><code>M = [omega 1;
       2     omega];
  </code></pre>
  
  <p>and you need to solve for the values of <code>omega</code> that satisfy the condition <code>det M = 0</code>.
  How do you do this in MATLAB?</p>
  
  <p>It is surely something simple, but I haven't found the function yet.</p>