title: MATLAB Error - Undefined function for input arguments of type 'double'
body: <p>Implementing this MATLAB function</p>
  <pre><code>function y=myfunc(x)
      y=x^2+5*x+6;
  end
  </code></pre>
  <p>is resulting in the following error.</p>
  <pre><code>&gt;&gt;myfunc(5)
  Undefined function 'myfunc' for input arguments of type 'double'
  </code></pre>
  <p>I'm new to MATLAB, and any help would be appreciated!</p>