How do I plot points with a certain direction and length?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Specifically I have a velocity a function that gives velocities in the x and y direction and I would like the direction of this velocity to always be heading at 45 degrees. And the direction arrow would be 2x the length of the magnitude of the velocity.
Any help on how to do this would be much appreciated
1 commentaire
Image Analyst
le 29 Avr 2015
Well, what if your function does not give velocities in the 45 degree direction? What then? Are you 100% sure it will give velocities in that direction? What if it gives 44.999999 degrees or 45.000000001 degrees? See the FAQ: http://matlab.wikia.com/wiki/FAQ#Why_is_0.3_-_0.2_-_0.1_.28or_similar.29_not_equal_to_zero.3F
Réponses (0)
Voir également
Catégories
En savoir plus sur Surface and Mesh Plots dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!