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 (2024). Set functions with multiple inputs (https://www.mathworks.com/matlabcentral/fileexchange/28341-set-functions-with-multiple-inputs), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2009b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersTables についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

SetMI/html/

バージョン 公開済み リリース ノート
1.3.0.0

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

1.0.0.0