understanding the rotation matrix

Hi, I am trying to understand the dynamics of quad copter.

in the following post : http://charlestytler.com/modeling-vehicle-dynamics-euler-angles/

author stated We can describe the other body frame axes with trigonometry as a function of the inertial components and the angle of rotation. But i am having a hard time understanding

[b1;b2;b3] = [cos(psi), sin(psi), 0; -sin(psi), cos(psi), 0; 0, 0 1] [x;y;z]

can someone explain how that derived.

I found other reference http://www.sunshine2k.de/articles/RotationDerivation.pdf but i don't think both are same.

any references to Rotational Matrices are welcome.

Google "rotation matrices" for several hundred thousand links to various tutorials, and start working your way down the list.

Or check out a book on linear algebra from your local library.