permnsub(V,N, IX)
Version 9.9.0.0 (2.99 KB) by
Jos (10584)
Subset of all permutations with repetition
!! OBSOLETE !!
Its functionality is now implemented in my function PERMN, available on the File Exchange
permnsub - subset of all permutations with repetition
M = permnsub(V,N,IX) returns a subset of all permutations, with
repetition, of N elements, taken from the elements in vector V. M has
the size numel(IX)-by-N. V can be an array of numbers, cells or strings,
and M will be of the same type as V.
Use PERMN instead
Cite As
Jos (10584) (2026). permnsub(V,N, IX) (https://ch.mathworks.com/matlabcentral/fileexchange/41206-permnsub-v-n-ix), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2012a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Language Fundamentals > Data Types > Tables >
Find more on Tables in Help Center and MATLAB Answers
Tags
Acknowledgements
Inspired by: permn
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
