Generalised bezier curve matlab code
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
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired: Bezier Surface
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.