Vous suivez désormais cette soumission
- Les mises à jour seront visibles dans votre flux de contenu suivi
- Selon vos préférences en matière de communication il est possible que vous receviez des e-mails
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
Citation pour cette source
Oleg Komarov (2026). Set functions with multiple inputs (https://fr.mathworks.com/matlabcentral/fileexchange/28341-set-functions-with-multiple-inputs), MATLAB Central File Exchange. Extrait(e) le .
Informations générales
- Version 1.3.0.0 (35,5 ko)
Compatibilité avec les versions de MATLAB
- Compatible avec toutes les versions
Plateformes compatibles
- Windows
- macOS
- Linux
| Version | Publié le | Notes de version | Action |
|---|---|---|---|
| 1.3.0.0 | Added link to fex page; added picture; edited description of setdiffm |
||
| 1.0.0.0 |
