title: Matlab returns the function only
body: <pre><code>syms h v t g
  g = 10;
  
  eqn1 = h==(v.^2 * (sin(t)).^2)/2*g;
  
  t=1;
  v=10;
  
  vpasolve(eqn1,h)
  </code></pre>
  
  <p>I want to solve this equation for values inside a matrix. but before that I wanted to test this if it is working correctly. however after the definition of <strong>eqn1</strong>, the values I assign to the variables <strong>v,t</strong> doesn't seem to get by when I use <strong>vpasolve</strong>. How do I do this?</p>