Interpolation between 2 discret point
Mostrar comentarios más antiguos
Hi,
I looking for the command or a function that performan interpolation between 2 discrete point, with a polynom i defin
In fact i have a timeseries which i want to interpolate with a cubic polynom @ 0.5ms
I found the interp1 command , but i can not set the interpolation cubic coefficient polynom i want
Thanks for your reply
1 comentario
Torsten
el 26 de Nov. de 2018
Why a cubic for two points ? You need 4 points to uniquely fix the cubic.
Respuestas (1)
baptiste giroud
el 26 de Nov. de 2018
0 votos
1 comentario
Bruno Luong
el 26 de Nov. de 2018
If you have coefficients then simply evaluate it using POLYVAL.
This is no longer an interpolation problem (which has the step of finding the coefficients so that the polynomial goes through the point values, but in yur case you already have the coefficients).
Categorías
Más información sobre Interpolation en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!