Feeds
질문
If I select an element in a matrix, say MAT(2,2), how to find how many elements of the same value of MAT(2,2) in the matrix are "connected" to it.
For example, Mat=[1 2 3 4 2;2 2 2 2 0;2 0 4 2 1;1 3 4 2 8] and there're 7 elements (namely MAT(1,2), MAT(2,1), MAT(2,3), MAT(2,4...
대략 9년 전 | 답변 수: 2 | 0