Can you rotate a shape based on quiver direction?
2 views (last 30 days)
Show older comments
Yash on 14 Jun 2022
Answered: Sean de Wolski on 14 Jun 2022
I am currenly plotting an animation of an object with a quiver based on the x and y coordinates as well and the x nad y velocities. I was wondering if I can adjusting the tilt of a rectangle that I am plotting based on the direction of the quiver? Currently, the dimensions of the rectangle are defined as shown in the code below and it always stays facing the same direction.
Find more on Vector Fields 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!