Can you constrain the boundary conditions of a smoothing spline fit?

2 views (last 30 days)
I have some data I'd like to fit with a smoothing spline, but I need the fit to intersect the first and last point in the data. Is this possible?

Accepted Answer

Matt J
Matt J on 3 May 2019
  2 Comments
Cameron Crook
Cameron Crook on 3 May 2019
Do you happen to know how the smoothing spline determines the knots? Does it also use a default number of 6? I'd like to replicate the fits I obtained with the slm toolbox and only change the end conditions.

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!