MATLAB Problem
I have a 400 by 640 matrix of ones and zeros. The zeros are near each other and I want to know if there is a function by which i can find the index of the middlemost zero in each column.
For example if in the first column, the entries are
1
1
1
0
0
0
0
0
1
1
the middlemost zero is in the 6th row and i want to get the number 6. please help me with this.
For example if in the first column, the entries are
1
1
1
0
0
0
0
0
1
1
the middlemost zero is in the 6th row and i want to get the number 6. please help me with this.
0