Discover MakerZone

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

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!

Problem 1222. Create a Video

Created by Richard Zapor

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

Problem Group

Solution Statistics

14 correct solutions 22 incorrect solutions
Last solution submitted on Jun 30, 2016