how to crate an animated histogram
21 views (last 30 days)
Show older comments
Georgia Muller on 16 Sep 2018
Answered: Zenin Easa Panthakkalakath on 25 Sep 2018
Write the code to produce an animation of the histogram of particle counts over time using a for loop. Write the code to produce the animation, given that the variables M, N, Delta, x and L already exist in the work space. The code just needs to produce the animation in MATLAB.
Zenin Easa Panthakkalakath on 25 Sep 2018
You can use a combination of for loop, pause and drawnow. For example,
for i = 1:10
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!