Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Co-occurrence Matrix

Status
Not open for further replies.

pnt4132

Technical User
Mar 31, 2012
1
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top