title: Is there a GNU Octave equivalent for the Matlab function "fit"?
body: <p>My teacher in the signal analysis course has given me some Matlab code that I have to execute in order to complete a home assignment. I have always been using GNU Octave without troubles, but this time there is this command that is giving me headaches.</p>
  
  <pre><code>[c8,g8]=fit(time, sin_4_harmonic,’fourier8’)
  </code></pre>
  
  <p>I cannot find the function "fit" in GNU Octave, which is referenced for Matlab at the following url <a href="http://www.mathworks.se/help/curvefit/fit.html" rel="noreferrer">http://www.mathworks.se/help/curvefit/fit.html</a></p>
  
  <p>Does anyone knows which package should I load, or if there is any equivalent?</p>
  
  <p>Thanks =)</p>