Fast 2-dimensional interpolation

Provides a 5x-50x speedup over interp2
7,6K téléchargements
Mise à jour 31 mai 2006

Aucune licence

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.

Citation pour cette source

Nathaniel Brahms (2026). Fast 2-dimensional interpolation (https://fr.mathworks.com/matlabcentral/fileexchange/10772-fast-2-dimensional-interpolation), MATLAB Central File Exchange. Extrait(e) le .

Compatibilité avec les versions de MATLAB
Créé avec R14SP3
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur Interpolation dans Help Center et MATLAB Answers
Remerciements

Inspiré par : Fast interpolation

Version Publié le Notes de version
1.0.0.0

Added bilinear interpolation