title: rotate 3d body according to a normal in matlab
body: <p>I have 3d body (triangle mesh) and a surfuce normal to one of the faces. I want to rotate the body such that the Z axis would be parallel to the normal. How to find the rotation matrix?</p>