Clear Filters
Clear Filters

Create animation from cell array

1 view (last 30 days)
Hello everyone. I have a cell array, nexttime, which is 1x13002 long and in each cell, it contains a vector that is 1400x1. I also have a vector named xcord. The graph of the function in time = 0 for example is, plot(xcord,nexttime{1}). At time = 1, it is plot(xcord,nexttime{2}). What I simply want to do is to make an animation of this structure so that each xcord,nexttime{i} is a frame of the animation.
P.S.: The graph plots must also have the same limits, which are xcord=0..28 and nexttime=0..10^-5

Accepted Answer

Stephen23
Stephen23 on 14 Nov 2015
When I use an internet search engine it gives me thousand of pages showing how to do animation with MATLAB, including the official documentation and some youtube tutorials! Here are the first few results, which are all the official documentation:
http://www.mathworks.com/help/matlab/animation-1.html (see "Examples" at the bottom of the page)

More Answers (0)

Categories

Find more on Animation in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!