Rotate Point in Matlab Plotting

AI Thread Summary
To fix one point and rotate another around it in MATLAB, a rotation matrix or the built-in rotation function can be utilized. The user generated random coordinates for three points using scatter plotting. The discussion emphasizes the importance of understanding rotation matrices for implementing the solution. Resources for further assistance, including MATLAB's documentation, are suggested. Mastering these concepts is essential for effective MATLAB plotting and manipulation.
eltrinco
Messages
6
Reaction score
0

Homework Statement




i need to fix a point and rotate another one

Homework Equations





The Attempt at a Solution




i did this

i've created this:

x=rand(1,3)
y=rand(1,3)
scatter(x,y)

how do i select and make one point fix and make the other point rotate around it?
 
Physics news on Phys.org
Back
Top