Problem 1222. Create a Video

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

2) Stack Overflow parameter example

Solution Stats

38.89% Correct | 61.11% Incorrect
Last solution submitted on Jun 30, 2016
Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!