I have a 3-D matrix where each x-y plane defines a binary image.
variable(:,:,1) calls image one; variable(:,:,2) is image 2 etc.
How can I generate a movie in MATLAB using each image as a frame? Also, how can I specify the frame-rate of this movie? Thanks in advance!