Has the same interface as imresize, but can only handle nearest neighbour and bilinear interpolation.
bilinear interpolation uses undocumented matlab mex files, and have only been tested on version 2013a.
This function is essentially a strip down of imresize. In the core of "imresize" are some efficient implementations, but totally overshadowed by intense overhead due to parsing and initialization. Run the script "runMe.m" for a simple timing analysis.