- #1
conorordan
- 13
- 0
Homework Statement
I've written some C code that models the motion of two masses attached to a wall (and each other) by springs like this.
The output file is 5 columns; the time, and the positions and velocities of each block at that time.
I'm not sure how to visualise my data, ideally I want to make a simulation that shows two blocks moving as described by the data, I'm open to doing more coding and I have Matlab and Mathematica.
Homework Equations
The Attempt at a Solution
So far I've just been using Matlab to graph the motion but it isn't terribly interesting, I want something that moves. A moving plot (like a GIF file) of the Lissajous curves being plotted would be good but I'm not sure what software I need for this.
Thanks