If I have a a vector $\vec{v}=(x,y,z)$ in cartesian coordinates and I want to rotate my coordinate system by spherical angles $\theta$ and $\phi$ how would I find the resulting vector $\vec{v'}=(x',y',z')$ in cartesian coordinates?
This website seems to contain the answer under the "sum-of-matrices" header, but fails to give any sort of derivation as to how they arrived there.
If anyone can give any insight into how this was derived, that would be greatly appreciated.
In the link you gave it gives the generic form of a rotation matrix of angle $\theta$ around an axis $r$. There are two alternative ways to arrive to that relation: i) composing rotation matrices, ii) constructing the rotated vector geometrically.
i) From: Siciliano, Sciavicco, Villani, Oriolo - Robotics, Modelling, Planning and Control, Sec.2.5:
"
In sum, the resulting rotation matrix is $R(\theta,r) = R_z(\alpha)R_y(\beta)R_z(\theta)R_y(−\beta)R_z(−\alpha)$.
"
where $R_y(\beta) = \begin{bmatrix} \cos \beta & 0 & \sin \beta \\ 0 & 1 & 0 \\ -\sin \beta & 0 & \cos \beta\end{bmatrix}$ and $R_z(\alpha) = \begin{bmatrix} \cos \alpha & -\sin \alpha & 0 \\ \sin \alpha & \cos \alpha & 0 \\ 0 & 0 & 1 \end{bmatrix}$.
2) Is weel explained here https://en.wikipedia.org/wiki/Rodrigues%27_rotation_formula.
To help you directly with your specific example, you should say about which axes the rotations you want to do are, and in which order you want to perform them.