fast interpolation for uniform grid

조회 수: 3 (최근 30일)
Erik Johnson
Erik Johnson 2014년 11월 3일
편집: Erik Johnson 2014년 11월 3일
For repeated interpolation calls, the griddedInterpolant is much faster than interp1. However, MATLAB's interp1 used to have an option for faster behavior when the grid was uniform (method '*linear', which now reverts to 'linear'). A simple code for linear interpolation on a uniform 1-D grid can approach an order of magnitude faster than griddedInterpolant.
There are a number of functions on the MATLAB File Exchange to do this, but is there an approach using griddedInterpolant that can achieve faster results?

답변 (0개)

카테고리

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