Set functions with multiple inputs

版本 1.3.0.0 (35.5 KB) 作者: Oleg Komarov
Intersectm, ismemberm, setdiffm, setxorm, unionm with multiple inputs. Ex: intersectm(a,b,c,…).
1.6K 次下载
更新 2010/8/6

查看许可证

Have you ever tried to find the common elements/rows to more than two sets without using a loop?

Now you can with multiple-input set functions: Intersectm, ismemberm, setdiffm, setxorm, unionm.

Brief syntax example:
- intersectm(a,b,c,d,....)
- intersectm(a,b,c,d,...,'rows')

These functions are substantially wrappers of ismember/ismemberm (like the original two-input ones with the exception of ismember).

For details see help.
For examples see the attached documentation.

Comments/suggestions/error reports are welcome.
p11v2

引用格式

Oleg Komarov (2026). Set functions with multiple inputs (https://ww2.mathworks.cn/matlabcentral/fileexchange/28341-set-functions-with-multiple-inputs), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2009b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Tables 的更多信息
版本 已发布 发行说明
1.3.0.0

Added link to fex page; added picture; edited description of setdiffm

1.0.0.0