I have a matrix with dimensions 512 x 683 and I'm looking to gamma transform it by raising it to .8 and 1.2 seperately. Obviously you cannot raise nonsquare matrices to powers, so I was wondering how would I go about raising each element of the matrix to the .8th power and the 1.2 power.
Thanks
Element wise:
newMat1 = oldMat.^0.8;
and
newMat2 = oldMat.^1.2;