Interpolation between 2 discret point

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

Torsten
Torsten 2018년 11월 26일
Why a cubic for two points ? You need 4 points to uniquely fix the cubic.

댓글을 달려면 로그인하십시오.

답변 (1개)

baptiste giroud
baptiste giroud 2018년 11월 26일

0 개 추천

I fact i receive a position each 10ms , its a discret signal
What i want to perform its between 2 points ,having a continious signal coming from a cubic interpolation.
I have the coefficient of the cubic polynome

댓글 수: 1

Bruno Luong
Bruno Luong 2018년 11월 26일
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).

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Interpolation에 대해 자세히 알아보기

질문:

2018년 11월 26일

댓글:

2018년 11월 26일

Community Treasure Hunt

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

Start Hunting!

Translated by