matlab ismember

Lia = ismember(A,B)

returns an array the same size as A, containing 1 (true) where the elements of A are found in B,and 0 (false) elsewhere

返回A中B的位置

posted @ 2014-04-24 13:02  gaoyang2016  阅读(195)  评论(0编辑  收藏  举报