Variations: pick k elements out of n
Version 1.0.0.0 (530 Bytes) by
Felix Bie?mann
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 (2026). Variations: pick k elements out of n (https://se.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 LinuxCategories
Find more on Execution in MATLAB in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
