Given set of sets, produce all possible intersections for each set or all sets at once.
Updated 29 Aug 2013

View License

Simple function INTERSECTALL efficiently returns intersections of given set of sets, computed combinatorially. It returns cell array of vectors of indices of a set that have instersection to any other set and a vector that gives number of intersections for each set. INTERSECTALLSET is much simpler, it returns the values of the set which are members of all sets.

Cite As

Mehmet Suzen (2024). INTERSECTALL (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2012a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Matrices and Arrays in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes

A new function INTERSECTALLSET is added. Description is improved.

Function documentation update

Added an example