Code covered by the BSD License  

Highlights from
NVIDIA CUDA-based bilinear (2D) interpolation

image thumbnail
from NVIDIA CUDA-based bilinear (2D) interpolation by Gerald Buchgraber
Incredible speed boost in comparison to the Matlab implementation. (interp2)

cudainterp2.m
%CUDAINTERP2 Fast 2-D bilinear interpolation.
%   B = CUDAINTERP2(A, NR, NC) performs bilinear interpolation
%   on the matrix A so that the output B has NR rows and NC cols.
%   
%   Class support for input A: 
%      float (real): double
%
%   Class support for inputs NR, NC: 
%      real
%   
%   See also TESTCUDAINTERP2, CONV2
    
%   By Alexander Huth, California Institute of Technology, 2008

Contact us at files@mathworks.com