Generalised bezier curve matlab code

Takes n point inputs through cursor or kerboard ,plots a bezier curve using them as control points
8.1K Downloads
Updated 14 May 2014

View License

Presenting the one and only Generalised Bezier curve !!!! Yes folks Matlab code for n points , this program will plot the Bezier curve for any number of points be it 2 or 3 or even 100 or more points ...
1)First enter the no. of points when the program asks
2)Choose whether you prefer to click or to enter through keyboard in the form of matrix all the x & y coordinates
3)Click on various locations in the window or enter through keyboard the coordinates of all points must be within square brackets for example for 4 points whose (1,2),(4,6),(7,8),(10,11) enter like this
[1 2;4 6;7 8;10 11]
5)Sit back and enjoy !
6)The line segments joining the control points are also plotted
NOTE : If the program doesnt work try to rate it 5 stars then try it it will WORK ;)

Cite As

Lakshmi Narasimhan (2024). Generalised bezier curve matlab code (https://www.mathworks.com/matlabcentral/fileexchange/33828-generalised-bezier-curve-matlab-code), MATLAB Central File Exchange. Retrieved .

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

Inspired: Bezier Surface

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.2.0.0

minor changes which are not required at all added to the description !

1.1.0.0

Now its generalised , previously it could plot only cubic bezier curve , now it can plot for any order of bezier curve

1.0.0.0