I have 3 matrices for surf commands: X, Y, Z. I transformed the matrix so that the surface rotates -45 degrees around the OY axis. But now my current code can make it rotate -45 degrees, but it deviates A (one edge of the surface)form a certain distance. Can someone help me improve my code to make the surface rotate with A as the axis?thank you very much!.
My code is below:
R=[cosd(a) sind(a);-sind(a) cosd(a)];