Clear Filters
Clear Filters

Spline interpolation with one endslope constrained, the other endslope free?

2 views (last 30 days)
Hi, I'm using cubic spline interpolation in matlab, and find that either it free the slopes of two end points, or constrain the two endslopes to certain values, like:
yy = spline(x,[0 y 0], xx);
I'm wondering how to constrain the slope of just one end point, with the other free.
Any suggestions?
Thanks!

Answers (0)

Community Treasure Hunt

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

Start Hunting!