Effacer les filtres
Effacer les filtres

Relative position of a point with respect to centroid

1 vue (au cours des 30 derniers jours)
BlueBee77
BlueBee77 le 7 Avr 2017
I have a point e.g, (2,3) and centroid e.g., (8,9). How to find relative position of this point X and Y with respect to centroid? and relative velocity with respect to centroid. Is relative velocity different from the usual/normal velocity?

Réponses (1)

David Goodmanson
David Goodmanson le 7 Avr 2017
Hello Blue The relative position is the coordinates of the point in question minus the 'with respect to' point which in this case is the centroid. So in terms of Matlab vectors,
relposition = [2 3] - [8 9]
It is the same with velocities, velocity of point in question minus velocity of centroid. So relative velocity could well be different than the velocity of the point in question.
  2 commentaires
BlueBee77
BlueBee77 le 7 Avr 2017
thanks for your comment but isn't this how we calculate the absolute position. I thought relative position is calculated as:
Relative position= (value2- value1)/value 1
Correct me if i am wrong.
David Goodmanson
David Goodmanson le 7 Avr 2017
In physics anyway, relative position is how I described it above. It's good to verify things and not depend on just one opinion (mine included), so you could take a look at 'displacement (vector) wiki' (the second sentence) or at https://www.youtube.com/watch?v=2Oebgo04feI

Connectez-vous pour commenter.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by