CombMat(m,n)
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.
Citation pour cette source
Eduardo de la Rosa (2024). CombMat(m,n) (https://www.mathworks.com/matlabcentral/fileexchange/67228-combmat-m-n), MATLAB Central File Exchange. Récupéré le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
- Radar > Phased Array System Toolbox > Waveform Design and Signal Synthesis > Motion Modeling and Coordinate Systems >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
1.0.0.0 | Description improved |