Rotate Point in Matlab Plotting

Click For 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

Similar threads

  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
13
Views
2K
  • · Replies 13 ·
Replies
13
Views
3K
Replies
2
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K