title: Curve fitting in matlab
body: <p>For example i have 5 point like this,</p>
  
  <pre><code>(1,1) (2,-1) (3,2) (4,-2) (5,2)
  </code></pre>
  
  <p>Now, </p>
  
  <ul>
  <li>1) I want a function to interpolation these points in Matlab. </li>
  <li>2) I want to Plot this function. </li>
  <li>3) Read a number from input and write F(x) to output.</li>
  </ul>
  
  <p>How can I do this??</p>