image thumbnail

version (5.51 KB) by Benjamin Friedrich
Compute curvature, torsion and Frenet frame of space curves robustly


Updated 19 Sep 2014

View License

This is a robust estimation of curvature, torsion, and the Frenet frame of a space curve. It works well even when data points are noisy. It uses the geometric definition of curvature as the inverse radius of an osculating circle that kisses the curve. Torsion is determined from the rotation of the osculating plane. The user can choose the level of regularization of torsion by setting a non-zero weight. A demo script presents several examples, including curves with inflection points, where the Frenet frame is ill-defined.

Cite As

Benjamin Friedrich (2022). (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2011b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!