Create animation from cell array
7 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Pedro Rafael Guaraldi da Silva
le 14 Nov 2015
Réponse apportée : Stephen23
le 14 Nov 2015
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
0 commentaires
Réponse acceptée
Stephen23
le 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)
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Animation dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!