Rotating a sin wave using a 3d rotation matrix

sal22 shared this question 4 years ago
Answered

I have a sine wave in green and I'm trying to rotate the sine wave by multiply it by the 3d rotation matrix. But my variable testrot which is equal to (R_1*fx) doesn't seem to get populated with any data. I'm trying to see how values in a 3d matrix will change and how the sine wave will look if I change theta.

Comments (3)

photo
1

Have you tried rotating the function about a line with the Rotate[] command?

photo
1

The goal is to show the changes / calculations in the 3D rotational matrix. If I use Rotate will that update the data in the 3D rotational matrices?

photo
1

Hi,


Maybe you can apply the same rotation (about a line) to the three unit vectors (1,0,0), (0,1,0) and (0,0,1), then feed the matrix with the results?


Mathieu

photo
© 2020 International GeoGebra Institute