I have a 12x4 matrix with four of its elements having value of 1 and with remaining elements having value less than 1. I want to normalize in it a way that the elements corresponding to 1 have value of 0.125 and the remaining elements are less than 0.125. I am normalizing it as follows:
a = a .* sqrt(0.125); %a is 12x4 matrix
However, the elements corresponding to 1 are still not 0.125. I would be thankful if anyone has any idea on this kind of normalization problem.