title: Finding the curvature from a set of datapoints
body: <p>I have a set of </p>
  
  <ol>
  <li>1-d</li>
  <li>2-d </li>
  </ol>
  
  <p>data. I want to find the curvature at each single point. Until now I was using difference technique to find out the curvature, i.e, central difference at middle and forward and backward difference at the ends. I am writing the code in Matlab.</p>
  
  <p>The problem is curvature is supposed to bring out a sudden change in dataset at a particular location. What happens is it only shows abrupt change in curvature at the starting and end of the region. But within the region it shows smooth transition?</p>
  
  <p>Any ideas?</p>