Animated Vectors Plot with data coming from Simulink (WITH EXPLAINING IMAGES)
5 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hallo, I'm getting mad to understand how to do something like this : (WATCH) " http://www.energyreply.it/teoria.html " There is only one animated image in the page, well, I need to know how to do it.
Actually I only need to know how to plot animated vectors coming from a Simulink model. All the rest is easy.
My Simulink model produce two separate signals: For exemple sin(x) and cos(x) when X are a stream of values coming from a slope function from 0 to 2*pi.
How can I plot a vector (not necessarily starting from the origin of axis) and see it turning ? When I say a VECTOR I MEAN AN ARROW ! not a simple point!
I hope to be able to see an animation of an arrow that turns around a custom defined point.
And don't forget to explain how to set the speed of the animation! Sometimes happens that animation appears only for half a second!
Does anyone know how to do this?
Pleeeeese help me! I'M LOOSING THE TRUST IN MYSELF :-(
0 comentarios
Respuesta aceptada
Kaustubha Govind
el 19 de Jul. de 2011
The webpage that you pointed to uses Adobe Flash to achieve with the animation - I don't know of a way to generate Adobe Flash files directly from MATLAB data.
However, you should be able to create an animated GIFs from MATLAB plots. See this File Exchange submission: Animated GIF
You first need to export your Simulink outputs to the MATLAB workspace, and then use MATLAB plotting functions.
2 comentarios
Más respuestas (2)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!