interp1 is used for only for equidistant steps?

조회 수: 2 (최근 30일)
Ahmed
Ahmed 2012년 7월 5일
I have a code which include interpolation using intrp1, and it give the correct final answer only when the interpolation is done on equidistant source data. but it gives shifted results when the source data are non-equidistant.
is the reason is the interp1 functions limitation? or it can not be the reason?
Thanks Ahmed

답변 (1개)

Jonas
Jonas 2012년 7월 5일
편집: Jonas 2012년 7월 5일
I used interp1 with non regular spacings and it worked....
Verify your code...

카테고리

Help CenterFile Exchange에서 Interpolation에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by