Matlab中 intersect 函数用法或者说查找重复值位置
显示 更早的评论
假如A = [7 2 4 6]; B =[1 2 0 4 6 10 6]; [c, ia, ib] = intersect(A, B); matlab里的计算结果为 ib = [2 4 7]。 但,交集 [2 4 6]在数组B的指标应为 [ 2 4 5 7] 。 这个函数没法实现这个功能,有没有大神能帮助下呢? QQ 919182250 欢迎留言 实时关注问题
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Whos 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!