permnsub(V,N, IX)

Subset of all permutations with repetition

You are now following this Submission

!! 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://nl.mathworks.com/matlabcentral/fileexchange/41206-permnsub-v-n-ix), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired by: permn

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
9.9.0.0

obsolete. Use PERMN

2.0.1.0

included correct file

2.0.0.0

renamed submission, extended help section

1.1.0.0

1.1 - implemented suggestion of Jan; output is now always a row vector

1.0.0.0