Fast interp1 with 'spline'
이전 댓글 표시
Now I am programming a matlab toolbox for computer vision. I use a lot the function 'interp1(, , ,'spline')', and this step actually accounts for 50% of the whole computation time. Just wondering if there is any faster approach to compute this, and something like mex file, etc. Thank you very much.
채택된 답변
추가 답변 (2개)
Chris McComb
2015년 4월 1일
0 개 추천
Are you calling interp1 with a vector or lookup points? If not, doing so could give you a significant speed-up.
Philip
2015년 6월 8일
0 개 추천
griddedInterpolant is a lot faster than interp1, interp2, etc. routines.
카테고리
도움말 센터 및 File Exchange에서 Interpolation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!