Cubic spline in Matlab works with natural boundary?

1 view (last 30 days)
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?

Accepted Answer

Torsten
Torsten on 4 Jan 2019
By default, MATLAB uses "not-a-knot" condition in end points:
  1 Comment
Iulian Negoiu
Iulian Negoiu on 4 Jan 2019
Ok . This is strange . Where I read I understood that the cubic spline works just with secondary derivates. And now we use the third.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!