Effect of the coupling matrix with a weight parameter on synchronization pattern in a globally coupled network