I have a shape with spherical coordinate (r, theta, phi) which I can convert to Cartesian. I want to apply rotation to the shape by incrementing theta & phi.(adsbygoogle = window.adsbygoogle || []).push({});

I figured out the matrix for rotating azimuth angle is

{

{cos(theta), -sin(theta), 0}

{sin(theta), cos(theta), 0}

{ 0, 0, 1}

}

How to find the rotation matrix for Zenith angle?.

Thanks.

**Physics Forums | Science Articles, Homework Help, Discussion**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Rotation matrix for azimuth and zenith angles

**Physics Forums | Science Articles, Homework Help, Discussion**