MATLAB: 3D Spline Curve With End Conditions

3d splinecsapecscvninterpolationMATLABspline

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

Best Answer

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.
Related Question