T = 8
T_b = 30
Tag_mat = randi(0:1, T, T_b);
data_mat is a matrix with one of the row from tag_mat matrix
g_win is a matrix which contains numbers such as 5,7,1,6 (these are the numbers which refers to a calculation stating which of the rows from tag_mat gives proper results)
I want to find if the data_mat and tag_mat values do not match. if the they dont match I have to select the next number from g_win matrix. i was thinking to do it with if else and for loop but I am not sure how should I code it. Can someone please suggest me something about it?