Code covered by the BSD License
20 Jun 2013
Uses Hobby's algorithm to plot smooth curves in 3D through specified control points
This file was selected as MATLAB Central Pick of the Week
Watch this File
This code can be used to draw 3D cubic splines by only entering the points through which the spline should pass.
In other words, smooth curves can be drawn by simply defining occasional points through which the curve should pass.
Bezier control points are calculated automatically using the Hobby's algorithm (1986), which allows a slope and "tension" of the spline at each point to be specified explicitly if desired.