A function for Bezier interpolation for given four
control points. Each control point can be in N-Dimensional vector space. Optionally a vector t can be pass then bezier curve would be evaluated at values stored in vector t. By default bezier curve would be evaluated at 101 values between 0 and 1.
Ouput of function is evaluated values in N-Dimensional vector space.
A test program that perform shows Bezier
interpolation for four sample control points in
1D, 2D, 3D, 4D vector space.
Very good !
However we can regret that it cannot make Bezier regression over more than 4 points.
It should be improved.
Neat little program. Very helpful. Thanks.
Thanks. It did the trick for me.
Matlab has a big hole in Bezier Interpolation :-(
more clear and readable
Create scripts with code, output, and formatted text in a single executable document.