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