s = sci_news = 1 1 0 0 0 0 1 1 0 0 1 1 1 1 0 0>> codescodes = 1 1 1 1 0 0 0 0 1 1 1 1 0 0 0 0 1 1 0 0 0 0 1 1 0 0 1 1 1 1 0 0 1 0 0 1 0 1 1 0 1 0 0 1 0 1 1 0z1 = codes(find(codes~=s))
I am trying to match the values of s and codes. theoritically the values present in s matches with row 2 from codes I want to eliminate that row and consider the other rows but z1 is giving me
z1 = 0 1 1 1 1 0 0 0 1 1 1 0 0 0 0 1
i am not able to understand this. Kindly help me
Best Answer