Is there a transformation (multiplication, or any other combination of operations) that can convert this matrix:

$$begin{bmatrix}1& 2 & 3\4&5&6\7&8&9end{bmatrix}$$

to this:

$$begin{bmatrix}3& 6 & 9\2&5&8\1&4&7end{bmatrix}$$

I have simply ‘rotated’ the matrix 90 degrees .