kindly help me in making a c code of a co-occurrence matrix which can tell how often two neighbour values are occuring in the matrix. example: [1 2 1;1 2 2;3 2 1] since 1 2 is comming twice then it should put 2 in element(1,2) similarly put 0 in element(1,1)and 1 at element (3,2) and so on.
Red Flag Submitted
Thank you for helping keep Tek-Tips Forums free from inappropriate posts. The Tek-Tips staff will check this out and take appropriate action.
Reply To This Thread
Posting in the Tek-Tips forums is a member-only feature.