I have a matrix of size 102 x 2555 I want to select each column from 1 to 2555 of this matrix and then divide to each column of this matrix. For example: I have matrix
A=
1 2 3 4 5 6 2 3 4 5 6 7 3 4 5 6 4 6 5 6 8 7 1 3
I want to build the ratios like this:
ratio1=column1./each column in matrix A
ratio2=column2./each column in matrix A
ratio3=column3./each column in matrix A
….
ratio6=column6./each column in matrix A
Thanks for your help!
Best Answer