We introduce the concept of strongly independent matrices over any field, and prove the existence of such matrices for certain fields and the non-existence for algebraically closed fields. Then we apply strongly independent matrices over rational numbers to obtain a measure rigidity result for endomorphisms on n-torus.