What I'm trying to do...
Say I have two vectors. I want to align these vectors so that they one of my vectors is pointing directly at the other. For example, imagine there is this point and I want to position my camera so that my camera's center is directly aligned with said point.
From my understanding to do this, I would calculate the cross product between the two vectors and use that as an arbitrary axis of rotation.
From there I would need an angle $\theta,$ which can be determined by taking the dot product between the two vectors and dividing by the product of their magnitudes. Then I would solve for $\theta$ using $\cos^{-1}$
$$\theta=\cos^{-1}{A \cdot B\over |A||B|}$$
I'm stuck on how to determine the appropriate rotation matrix which to rotate about.
Also, I'm not sure if my process is correct I was looking online to figure this out.
I'm guessing you're intending to program this. So an implementation of @EmilioNovati's reference is illustrated below in C. You give it a rotation axis and a $\theta$, and then one function gives you the corresponding quaternion, and then another gives you the $3\mbox{x}3$ rotation matrix corresponding to that quaternion. And a third just conveniently multiplies a vector times a matrix to do the rotation for you. Here's the code, followed by a sample animation using it for rotation calculations...
And here's a sample animation that uses the above functions to perform the frame-by-frame rotations...