Fast 2-dimensional interpolation

Provides a 5x-50x speedup over interp2

您现在正在关注此提交

This function performs 2-dimensional interpolation similar to MATLAB's built-in function interp2 with a considerable speed advantage.

qinterp2 may only be used with evenly-spaced, monotonically increasing X and Y library arrays. In addition, there is little error checking on these inputs, as qinterp2's speed boost is derived from avoiding manipulation of these arrays. See the attached image for how interp2 and qinterp2 compare vs. input length. The test was performed on a 2.4GHz Intel Windows XP machine running MATLAB 7 R14SP3.

See file id 10286 (Fast interpolation) for the one-dimensional version of this file.

引用格式

Nathaniel Brahms (2026). Fast 2-dimensional interpolation (https://ww2.mathworks.cn/matlabcentral/fileexchange/10772-fast-2-dimensional-interpolation), MATLAB Central File Exchange. 检索时间: .

致谢

参考作品: Fast interpolation

类别

Help CenterMATLAB Answers 中查找有关 Interpolation 的更多信息

一般信息

MATLAB 版本兼容性

  • 兼容任何版本

平台兼容性

  • Windows
  • macOS
  • Linux
版本 已发布 发行说明 Action
1.0.0.0

Added bilinear interpolation