title: Matlab - how to draw tangent on curve
body: <p>I have plotted a graph in matlab with:</p>
  
  <pre><code>plot(x,y)
  </code></pre>
  
  <p>and my graph has different slopes, how do i draw tangents on each slope and calculate the coefficient for the slope?</p>