MATLAB: Cubic spline in Matlab works with natural boundary

cubic spline

I want to make an interpolation with a cubic spline function. And I want to find the coefficients of the polynomials with this function [breaks coefs] = unmkpp(spline(x,y)) . The Matlab function uses natural bouundary or something else?

Best Answer

By default, MATLAB uses "not-a-knot" condition in end points:
Related Question