Feeds
답변 있음
find row with certain values
>> x = [1 2 3 4 1 2 2 1]; find(sum(bsxfun(@eq,x',[1:3]),2)==1) ans = 1 2 3 5 6 7 ...
find row with certain values
>> x = [1 2 3 4 1 2 2 1]; find(sum(bsxfun(@eq,x',[1:3]),2)==1) ans = 1 2 3 5 6 7 ...
11년 초과 전 | 0