Fast 2-dimensional interpolation
No License
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.
Cite As
Nathaniel Brahms (2024). Fast 2-dimensional interpolation (https://www.mathworks.com/matlabcentral/fileexchange/10772-fast-2-dimensional-interpolation), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Mathematics > Interpolation >
Tags
Acknowledgements
Inspired by: Fast interpolation
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 | Added bilinear interpolation |