Recently I have been making a Spectrum analyzer to keep myself busy. I have been trying to figure out how to flip 4 out of 7 columns in a matrix but can't seem to find the answer I am looking for.

Right now I have a 7 x 17 matrix and I would like to flip the 1,3,5,7 column so then I can prevent myself from having to rewire the data pins.