Animating plot in a for loop
Ältere Kommentare anzeigen
I have the following figure and i want to animate it with addpoints but couldn't work it out.
dy is the displacement from an ode solver, which is a matrix of 549x4 doubles and n = 2, so i only plot the dy(:,3) and dy(:,4)


2 Kommentare
Image Analyst
am 16 Jan. 2021
I don't know. MATLAB cannot convert your image into code. Attach your code so we can run it. What is "addpoints" - is that a built-in or custom function? Attach dy in a .mat file. Make it easy to help you not hard.
Ege Arsan
am 16 Jan. 2021
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Animation finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!