3D line approximation (spline)
古いコメントを表示
Hi everyone,
How can we use "spline" to approximate a sequence of points in three dimension rather than interpolate?
回答 (1 件)
Bruno Luong
2011 年 2 月 21 日
3 投票
It's called spline fitting. Please take a look at File Exchange, such as
4 件のコメント
Hongying LI
2011 年 2 月 21 日
Bruno Luong
2011 年 2 月 21 日
No. I do not mean that. A 3D line are simply three independent functions parametrized by an independent variables (called t for example).
All you need is interpolate (xi,yi,zi) by
xi = f(ti)
yi = g(ti)
zi = h(ti)
I recommend select {ti} as the cumulative sum of the euclidian distance of the data.
Hongying LI
2011 年 2 月 21 日
Bruno Luong
2011 年 2 月 21 日
Did you try the FEX file (try the first one) above? They are approximation (fitting) not interpolation, exactly as your request if I'm not mistaken.
カテゴリ
ヘルプ センター および File Exchange で Spline Postprocessing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!