Variations: pick k elements out of n

returns all n^k variations when picking k elements from an n-element vector
1.1K Downloads
Updated 13 Mar 2008

No License

Returns all n^k variations when picking k elements from an n-element vector (while allowing to pick the same element repeatedly).

Cite As

Felix Bie?mann (2024). Variations: pick k elements out of n (https://www.mathworks.com/matlabcentral/fileexchange/19200-variations-pick-k-elements-out-of-n), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2008a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Execution in MATLAB in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0