File Exchange

image thumbnail

CombMat(m,n)

version 1.0.0.0 (893 Bytes) by Eduardo de la Rosa
Create a combinatorial matrix from a given m-element set and n-element subset.

2 Downloads

Updated 04 May 2018

View License

This simple function returns an k-by-m matrix (where k is the number of n-combinations in set of m elements without repetition) which each row represents one of the all possible selectable combinations. Each column represents one of the m elements. If the i-th element of a row is a 1, that element is selected for that combination; otherwise, it will be a 0.

Cite As

Eduardo de la Rosa (2020). CombMat(m,n) (https://www.mathworks.com/matlabcentral/fileexchange/67228-combmat-m-n), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (1)

Jos (10584)

No help, no documentation ... the average user will not know how to call or use this function.

Updates

1.0.0.0

Description improved

MATLAB Release Compatibility
Created with R2006a
Compatible with any release
Platform Compatibility
Windows macOS Linux