Spline Natural

determina los polinomios del spline natural de frontera liobre
891 Downloads
Updated 28 Nov 2009

View License

Al introducir los valores de x y y a interpolar le halla los parametros y muestra las ecuaciones de forma grafica y numerica,

spline cúbico natural o con frontera libre
Ingrese Los valores de x [x0 ...xf] :

[2 2.7 3.8 6 8 10 13 16 18 21 25 30 36]

Ingrese Los valores de y [y0 ...yf] :

[5 7.8 9 10 10.2 10.3 10.4 14.5 15 15.4 15.5 14 5]

y el programa le arrojara los coeficientes
A =
h =
l =
m =

a =
b =
c =
d =

s(i)=a(i)+b(i)*(X-x(i))+c(i)*(X-x(i))^2+d(i)*(X-x(i))^3;
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
S(i) :
i =
1
entre xi y xf :
ans =
2
ans =
2.7000
3 2
5.2970 - 9.6037 X - 1.1819 X + 7.0914 X
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
% basado en: Auxiliar 6: Interpolación Mediante Spline Cúbicos
% https://www.u-cursos.cl/ingenieria/2007/1/MA33A/2/material_docente/objeto/124837

Cite As

Angel Diaz (2024). Spline Natural (https://www.mathworks.com/matlabcentral/fileexchange/25971-spline-natural), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2007a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0