Matlab for moving image with more spacing.