Fit function to 3D curve
显示 更早的评论
Dear all,
I'm trying to find the function that fits scattered my 3D data. It is however important that it is a curve because my 3D data points represent a centerline of an irregular structure. The general fit function only fits a surface. I need the function of the centerline to define perpendicular planes on the centerline.
Is there someone who can solve this problem?
Thank you in advance.
1 个评论
Rik
2017-4-1
If you have a 'walking' variable like t, you could hack the system by generating 3 fits for each coordinate. If you don't have a t, you may be able to model it, e.g. by measuring the Euclidean distance to a starting point.
But there is most likely a much better solution.
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Interpolation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!