3D Spline Curve With End Conditions?

4 views (last 30 days)
Hi, hopefully someone will kindly be able to help.
I have an a array of 3D data points and wish to make a smooth line interpolation between them. This can be achieved with CSCVN. However, I now want to add end conditions to the line so as to set the directions at the ends.
CSAPE() seems to be able to cope with end conditions but only seems to support gridded data in 3D not lines.
No doubt I'm going wrong somewhere.. Thanks for any help!
Lawrence

Accepted Answer

Matt J
Matt J on 26 Mar 2013
The SPLINE command lets you set the slopes of the fit at the end points. When done for each of 3 dimensions, you determine the direction at the ends.

More Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!