Curvature of a 1D curve in a 2D or 3D space
Cite As
Are Mjaavatten (2024). Curvature of a 1D curve in a 2D or 3D space (https://www.mathworks.com/matlabcentral/fileexchange/69452-curvature-of-a-1d-curve-in-a-2d-or-3d-space), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Mathematics > Sparse Matrices >
- Sciences > Mathematics > Geometry > Computational Geometry >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.2.8 | Now gives R = Inf , k = [0;0;0] whenever three consecutive points are in line.
|
||
1.2.7 | Bug fix |
||
1.2.6 | Inspired by the comment by @Fei Chen I now check if starting and end points are equal. If so, I calculate results for this point as well. In previous versions, starting and end point values were always NaN. |
||
1.2.5 | Changed title to make it clearer. |
||
1.2.4 | Fixed typos in accompanying note. |
||
1.2.3 | Yet another mixup: Correct heading this time |
||
1.2.2 | Uploaded wrong file in v. 1.2.1 |
||
1.2.1 | Corrected minor bug in circumcenter function. It now runs faster for a single output (R) than for more. Results remain unchanged. |
||
1.2.0 | The code is simplified and about 30% faster. The derivation of the mathematical model is included as a separate document. The output is identical to version 1.1. |
||
1.1.1 | Forgot to update image |
||
1.1.0 | The direction of the curvature vector in version 1.0 was very wrong. Corrected in version 1.1 |
||
1.0.1 | Improved image |
||
1.0.0 |