MATLAB Answers

does pp.breaks represent the arc length ?

14 ビュー (過去 30 日間)
Omar Fahmy
Omar Fahmy 2021 年 3 月 25 日
コメント済み: Omar Fahmy 2021 年 3 月 31 日
Hello,
I am working on curve modelling with splines and when looking up pp.breaks it gives me a vector with numbers. After reading the documentation I find out that pp.breaks represents a length L. Is this length L the same as the arc length L ?

回答 (1 件)

John D'Errico
John D'Errico 2021 年 3 月 25 日
編集済み: John D'Errico 2021 年 3 月 25 日
NO. Not even remotely close to the arc length for a standard spline, perhaps something computed using the function spline.
Although depending on what spline you are working with, say something computed using cscvn, then it can be interpreted in terms of the distance between consecutive points as a set of straight lines or chords. In that case, there is some relation to arc length. But your question is far too vgue to have any idea what splines you are working with.
Are you trying to compute arc length for a curve?
  1 件のコメント
Omar Fahmy
Omar Fahmy 2021 年 3 月 31 日
Yes, thats what I am trying to do.

サインインしてコメントする。

Community Treasure Hunt

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

Start Hunting!

Translated by