Project no.3

B-spline


What to do

In this project we will design a circular B-spline with 4 control points in Matlab. The position of the control point are given in R2. The spline will consist of 4 segments as shown in the figure

Control points:

  • B0 = [1 1];
  • B1 = [1 2];
  • B2 = [2 2];
  • B3 = [2 1];

To deliver

  • Matlab code that can be directly pasted into Matlab on the PC of the teaching assistant, and will generate the B-spline shown in the figure. No modifications to the code should be necessary for the teaching assistant to make it work