Create an avi video of the function surf(sin(2*pi*k/20)*Z,Z) for k=1:100 with an avi "quality" of 5.
The standard quality is 75 out of 100.
Output: avi file titled 'peaks.avi' of "Quality" 5
The size of the avi file will be checked to confirm "quality" of 5 was used and 100 frames.
Note: Windows 7 allows MPEG-4 which reduces file size a large percent while maintaining quality.
1) VideoWriter Object Properties