Minimization of the Frobenius norm of a complex matrix using planar similarities