CombMat(m,n)

Create a combinatorial matrix from a given m-element set and n-element subset.
16 descargas
Actualizado 4 may 2018

Ver licencia

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.

Citar como

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

Compatibilidad con la versión de MATLAB
Se creó con R2006a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre Motion Modeling and Coordinate Systems en Help Center y MATLAB Answers.

Community Treasure Hunt

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

Start Hunting!
Versión Publicado Notas de la versión
1.0.0.0

Description improved