26
27function coefs = setcoefs(x_start, x_end)
28coefs = zeros(1,4);
29coefs(1) = x_start(1);
30coefs(2) = x_start(2);
31coefs(3) = -3*x_start(1)-2*x_start(2)+3*x_end(1)-x_end(2);
32coefs(4) = 2*x_start(1)+x_start(2)-2*x_end(1)+x_end(2);
33
34