publish demo_resize using Matlab 2011a; tried to break demo script into smaller pieces