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

2 vues (au cours des 30 derniers jours)
Pengfei
Pengfei le 16 Août 2012
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!

Réponses (0)

Catégories

En savoir plus sur Splines dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by