This video shows how you can use MATLAB to do the visualization of a moving object with HGtransform. This data was syntetic, but it would be easy to read the data from a file and show the trajectory of other items or vehicles.
By
Doug Hull
Doug first used MATLAB in 1994, could not figure it out until he got some help in 1995. He is now dedicated to making sure that no one else wastes a year of their life not knowing MATLAB like he did.
Some time back I posted ‘Animated Peaks and Spheres’ on the file exchange. This might be worthwhile having a look at also for people interested in simple animation.
Doug, Thanks this is great! Just the thing I was looking for to make a simple animation of a car pitching, rolling, and heaving. I’ve tried adding the path to the same axes using plot3 for another visual, and it works, but a major memory hog. I thought of using the movie command to try and save the animation for later play back but having trouble with that too. Do you have any suggestions for including the path?
Thanks!
-Graham
Leave a Reply
About
Doug Hull is a proud MathWorker who is on a mission to help you with MATLAB.
Hi Dough,
Some time back I posted ‘Animated Peaks and Spheres’ on the file exchange. This might be worthwhile having a look at also for people interested in simple animation.
Steffen
Doug, Thanks this is great! Just the thing I was looking for to make a simple animation of a car pitching, rolling, and heaving. I’ve tried adding the path to the same axes using plot3 for another visual, and it works, but a major memory hog. I thought of using the movie command to try and save the animation for later play back but having trouble with that too. Do you have any suggestions for including the path?
Thanks!
-Graham