arclength
編集メモ: This file was selected as MATLAB Central Pick of the Week
The arclength function computes the length of a general space curve. This is not too difficult if the curve is assumed to be piecewise linear (a one liner) but if the curve is to be a smoothly interpolated spline, then the problem becomes more difficult.
A nice way to solve this problem for the cubic case is to formulate it as a numerical integration, whereupon the solution can be gained from quadgk. Carefully written code breaks the problem into a series of integrals between each pair of breaks on the curve to avoid the derivative singularities one would find otherwise.
引用
John D'Errico (2024). arclength (https://www.mathworks.com/matlabcentral/fileexchange/34871-arclength), MATLAB Central File Exchange. に取得済み.
MATLAB リリースの互換性
プラットフォームの互換性
Windows macOS Linuxカテゴリ
タグ
謝辞
ヒントを与えたファイル: Intersection Navigation and Path Estimation, Export figure to 3D interactive PDF, jdugge/xy2sn, Cumulative Arcwise Significance of Global Wavelet Power and Global Coherence Spectra, Matlab to Ansys ICEM/Fluent and Spline Drawing Toolbox
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!バージョン | 公開済み | リリース ノート | |
---|---|---|---|
1.0.0.0 |