Suppose you have a diagonal matrix, e.g.,
$$\begin{bmatrix} 3 & 0 & 0 & 0 \\ 0 & 2 & 0 & 0 \\ 0 & 0 & 9 & 0 \\ 0 & 0 & 0 & 1 \end{bmatrix}$$
What linear transformation (or any method, really) could you apply to get a different matrix, e.g.,
$$\begin{bmatrix} 2 & 0 & 0 & 0 \\ 0 & 3 & 0 & 0 \\ 0 & 0 & 1 & 0 \\ 0 & 0 & 0 & 9 \end{bmatrix}$$
Where we swap every odd indexed diagonal with the element at (that index + 1)
I think this problem is equivalent to rearranging the eigenvalues and eigenvectors of a matrix with each other. For example moving the eigenvalue $3$ from the vector $$\begin{bmatrix} 1 \\ 0 \\ 0 \\ 0\end{bmatrix}$$ to $$\begin{bmatrix} 0 \\ 1 \\ 0 \\ 0\end{bmatrix}$$
This seems like a trivial question, but I can't find a solution myself.