No BSD License  

Highlights from
Bezier curve

from Bezier curve by Nguyen Quoc Duan
Draw a Bezier curve passing through 6 given points

C=C(i,n)
% combination coefficient function 
% Copyright by Nguyen Quoc Duan - EMMC11

% Purpose : to compute the coefficients in Newton expansion
%           these coefficients also occur in Bezier curves equations
% Conditions: i,n are natural numbers and 0<=i<=n

function C=C(i,n)
C=factorial(n)/(factorial(i)*factorial(n-i));

Contact us at files@mathworks.com