File Exchange

image thumbnail

Bezier Interpolation in N-Dimension Space

version 1.1.0.0 (3.41 KB) by Dr. Murtaza Khan
Bezier interpolation for given four control points. Each control point can be in N-Dimensional.

5 Downloads

Updated 09 Jul 2009

View License

(1) bezierInterp.m
-------------------
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.

(2) bezierInterpTest.m
-----------------------
A test program that perform shows Bezier
interpolation for four sample control points in
1D, 2D, 3D, 4D vector space.

Comments and Ratings (7)

You-syuan ye

Thank you!

dai zhengguo

Pierre Delannoy

Very good !
However we can regret that it cannot make Bezier regression over more than 4 points.
It should be improved.
Thank you

Denis R

Neat little program. Very helpful. Thanks.

Christian Hartmann

Thanks. It did the trick for me.

Nick Cheilakos

Very good.

Matlab has a big hole in Bezier Interpolation :-(

Updates

1.1.0.0

BSD License

1.0.0.0

more clear and readable

MATLAB Release Compatibility
Created with R14SP1
Compatible with any release
Platform Compatibility
Windows macOS Linux

Discover Live Editor

Create scripts with code, output, and formatted text in a single executable document.


Learn About Live Editor