Matlab matrix translation and rotation multiple times
- by pinnacler
I have a map of individual trees from a forest stored as x,y points in a matrix. I call it fixedPositions. It's cartesian and (0,0) is the origin.
I would like 0/360 degrees to be the top of the screen and 90 degrees to be to the right.
Given a velocity and a heading, i.e. .5 m/s and 60 degrees (2 o'clock equivalent on a watch), how do I rotate…