查看单个帖子
旧 2019-11-26, 11:00   #1
poster
高级会员
 
注册日期: 2019-11-21
帖子: 3,006
声望力: 66
poster 正向着好的方向发展
默认 Elements in a set that are not elements of another set (relative complement) [duplicate]


This question already has an answer here:





In matlab, how can I implement the following?



Say that I have some set A and another set B, both of which have some elements. How can I write a function that returns only the values of B that are not in A (relative complement of A in B B\A?



Thanks.





More answer...
poster 当前离线   回复时引用此帖