image thumbnail
from reshape0, reshaping with padding or truncating by James Tursa
A c-mex routine for reshaping with padding or truncating

All files for reshape0, reshaping with padding or truncating
/reshape0.c
/reshape0.m

Contact us at files@mathworks.com