Why does movie(M,1) display the movie M twice?
Quoting from the MATLAB 6.1 online helpdesk: The movie function displays each frame as it loads the data into memory, and then plays the movie. This eliminates long delays with a blank screen when you load a memory-intensive movie. The movie’s load cycle is not considered one of the movie repetitions.