MATLAB Answers

0

How to make video as below

Asked by Jiuxuan Zhao on 2 Sep 2019
Latest activity Commented on by Jiuxuan Zhao on 2 Sep 2019
Hi, I need to do some videos to show some figures like the one below. Does anyone know how to make it? Do I need to add some tools? Thanks
teaser_stolt.gif

  0 Comments

Sign in to comment.

2 Answers

Answer by Image Analyst
on 2 Sep 2019
 Accepted Answer

First make up each frame in whatever way you can. Then use videoWriter() to make a movie. See attached demo.

  1 Comment

Thanks a lot for the demo!
Do you know how to draw the 3D image in the gif as I attached? I think the video is made with some 3D images at different view, right?

Sign in to comment.


Answer by Pavel
on 2 Sep 2019

Basically this called "animation" and there are several different ways how to perform it. You can find a lot of stuff at this page: https://www.mathworks.com/help/releases/R2019a/matlab/animation-1.html?container=jshelpbrowser
or in MATLAB type: web(fullfile(docroot, 'matlab/animation-1.html?container=jshelpbrowser')).
If you are interested exatly in creating a video file , look for a VideoWriter function in MATLAB help.

  0 Comments

Sign in to comment.