Let $M$ be a complex square matrix such that it has the following:
Minimal polynomial: $\mu(\lambda)= (\lambda-3)^2(\lambda+2)^3(\lambda-5)$
Characteristic polynomial: $\chi(\lambda)=(\lambda-3)^4(\lambda+2)^5(\lambda-5)^2$
$\dim(E_3)=2$ and $\dim(E_{-2})=3$, where $E_\lambda$ is the eigenspace for $\lambda \in \mathbb{R}\,$.
Now, my question is this:
If $N$ is another complex square matrix with the same characteristic polynomial, minimal polynomial, and geometric multiplicities as stated above, must there be an invertible matrix $Q$ such that $Q^{-1}MQ=N$ ?
If this is true, I would like to understand why. And if not, a counter-example would be much appreciated.