MATLAB: How to compute the local curvature of a point given a set of X-Y points in MATLAB 7.9 (R2009b)

MATLAB

I want to compute the local curvature of each point given a set of points that define a two-dimensional curve.

Best Answer

The ability to compute the local curvature at a point given a two-dimensional curve does not come built-in with MATLAB.
As a workaround, refer the following submissions on MATLAB Central that compute the local curvature of an arbitrary surface:
<http://www.mathworks.com/matlabcentral/fileexchange/11168-surface-curvature>
<http://www.mathworks.com/matlabcentral/fileexchange/10010-mean-curvature-fast-code>
Note that MathWorks does not guarantee or warrant the use or content of these submissions. Any questions, issues, or complaints should be directed to the contributing author.