A quick search for "diagonalisable matrix" on Wikipedia immediately gives the result that the set of real-diagonalisable matrices is not dense in the set of real matrices.
I need, however, to know whether the set of complex-diagonalisable real matrices, i.e. matrices with purely real entries that become diagonalisable when treated as complex matrices, is dense in the set of real matrices or not.
This is for my personal research that explicitly involves the reality (or lack thereof) of the trace of a complex analytic, not necessarily entire, function (real when restricted over the reals) of square matrices- should the above result be true, such a trace would be automatically real for any real matrix, by mixing the above result, the trivial fact that the set of mutually distinct N-(complex)number pairs is dense in the set of N-number pairs, and that the Frobenius cofactors appearing in the form of Sylvester's formula for diagonalisable matrices must all have trace 1 for matrices with distinct eigenvalues.
My question is now clear- is the above true?
P.S. I'm a literal mathematics junior(going to take a leap year before becoming a senior), so I know what I am talking about.