Help to make a GIF of my animation
Afficher commentaires plus anciens
Hello, I have a presentation this week and I need to make a GIF of my animation, because It takes to many time to run the code in the middle of the presentation and I would prefer to show an animation and aboid any mistake.
My code is giant, aprox 1800 lines of code, so I don't want to bother you with that. I think the clue to make my GIF is in the for that create my animation and the last part of the code:
for h=1:100 . . . imagesc(cancha);pause(0.001); end
cancha is my matrix, with lenght aprox 40x40 and only integer numbers (-inf, inf)
if someone can help me that would be great. Greetings! PS: I'm trying to modelate an cellular automaton, so the code is huge because of the rules.
1 commentaire
Réponses (0)
Catégories
En savoir plus sur Animation dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!