The decription about the az are as follows:
“`
az — Azimuth
number
Azimuth, specified as an angle in degrees from the negative y-axis. Increasing this angle corresponds to counterclockwise rotation about the z-axis when viewing the x–y plane from above.
“`
I think the word "counterclockwise" is wrong. It should be "clockwise". The code can prove that.
az=45;[X,Y,Z] = peaks;figuresurf(X,Y,Z)xlabel('X')ylabel('Y')zlabel('Z')view(az,45)az=60;figuresurf(X,Y,Z)xlabel('X')ylabel('Y')zlabel('Z')view(az,45)
Best Answer