% --------------------  NSpline2d.m  -------------------
%
% function [cx,cy,s] = NSpline2d(x,y)
%
% inputs x(1:n),y(1:n)
% outputs cx(1:4;1:n-1),cy(1:4;1:n-1), s
%
% Computes the coefficients for the 2-d Natural Spline as 
% described in the programming assignment. First computes
% the arclengths s(1:n) and then applies NaturalSpline to
% both (s,x) and (s,y) to get coefficient matrices cx and cy
%

function [cx,cy,s] = NSpline2d(x,y)

disp('%%%%%%%%%%  YOU NEED TO WRITE NSpline2d %%%%%%%%%%')