I have n same size matrices containing different logical values such as A1, A2, A3 matrices. It also can be considered that a matrix_A was assigned n times with different logical values 1 and 0. Please help to point out how to count the number of times each elements of this A matrix having 1 value. Any suggestion would be much appreciated!
A1 = 1 0 0 1 0 1 0 0 1 0 1 0 0 0 0 1 1 0 0 1 0 0 1 1 0 1 0 1A2 = 1 0 0 0 0 1 0 0 1 0 0 0 0 0 0 1 1 1 0 1 0 0 1 1 1 1 0 1A3 = 0 0 0 0 0 1 1 0 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1
Best Answer