interpclosed

버전 3.0.0 (187 KB) 작성자: Santiago Benito
Interpolation, perimeter, area, and second moments of area of 2D closed curves defined solely by points.
다운로드 수: 927
업데이트 날짜: 2021/5/17

라이선스 보기

The interpclosed function creates piecewise polynomial fits of 2D closed curves given by a set of points. The function can be used to:
(i) return the fit itself;
(ii) interpolate values within the curve using an arc-length parametrization;
(iii) compute the area, perimeter, centroid, and second moments of area of the curve.
The arc-length parametrization is very useful in this kind of application because these piece-wise polynomial fits usually have different sampling spacing with equally spaced parameter queries.
The computation of the centroid and second moments of area enables the detection of rotations and translations of the closed shapes.
Several examples can be found in the examples tab.
This function was inspired largely by the functions cscvn, interparc and arclength.
Programmed by Santiago M. Benito at the Chair of Materials Technology of the Ruhr-Universität Bochum, Germany.
Contact: santiago.benito@rub.de

인용 양식

Santiago Benito (2024). interpclosed (https://www.mathworks.com/matlabcentral/fileexchange/69055-interpclosed), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2016a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Interpolation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

interpclosed

버전 게시됨 릴리스 정보
3.0.0

Added the computation of the second moments of area.

2.0.0

- Changed the way the query points are given as input: Now an arc-length parametrization is employed.
- Corrected sign of the areas for counter-clockwise defined curves.
- Added the calculation of the centroid.
- Improved the area calculation

1.1.1

Corrctly updated the example files.

1.1.0

Changes: Improved print sentences, added info to the documentation and corrected a bug in the 'pchip' perpetual method.

1.0.0