Bezier Curve Function (Scripts) Publisher's description
from Prakash Manandhar
This function constructs a Bezier curve from given control points.
This function constructs a Bezier curve from given control points. P is a vector of control points. N is the number of points to calculate.
P = [0 0; 1 1; 2 5; 5 -1];
x = (0:0.0001:5);
y = BezierCurve(length(x), P);
plot(x, y, P(:, 1), P(:, 2), 'x-', 'LineWidth', 2); set(gca, 'FontSize', 16)
System Requirements:No special requirements.
Program Release Status: New Release
Program Install Support: Install and Uninstall