Matlab code to draw cubic bezier curve using decasteljau


Write a MATLAB CODE to draw a cubic Bezier curve using DeCasteljau algorithm. The input to the program should be four 2D (x,y) control points P0, P1, P2 and P4.

Write a MATLAB CODE that displays a non-uniform, non-rational B-spline, given as input a knot sequence and control points. Provide a user-controllable option to calculate the Bi,4(t) using the recurrence relations given in handout.

Request for Solution File

Ask an Expert for Answer!!
Mechanical Engineering: Matlab code to draw cubic bezier curve using decasteljau
Reference No:- TGS0724791

Expected delivery within 24 Hours