比较两个不同长度的数组
320(30天)
显示旧的评论
接受的答案
乔治Papakonstantinou
2014年11月17日
你可以找到它:
idx = ismember(一个“B”,“行”);
c = 1:尺寸(2);
d = c (idx);%你的答案
2的评论
约瑟Llobet
2021年10月5日
事实上,也许
ismember(0,独特(idx))
使用0 (no-coincident)或1(一致),可能是有用的。
然后结合
长度(独特(idx))
为了解totallity的巧合