All Permutations of integers with sum criteria
Version 1.5.01.0 (2.69 KB) by
Bruno Luong
All Pernutations of integers with sum criteria
This function provides all combinations of integer vector that must verify a criteria on the sum.
Supported criteria is
sum(v) == L1
sum(v) <= L1
sum(v) < L1
Cite As
Bruno Luong (2026). All Permutations of integers with sum criteria (https://in.mathworks.com/matlabcentral/fileexchange/17818-all-permutations-of-integers-with-sum-criteria), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R14SP3
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Mathematics > Elementary Math > Polynomials >
Find more on Polynomials 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.5.01.0 | Fix BUG for AllVL1(1,1) that returns incorrect result |
||
| 1.5.0.0 | + non-recursive engine |
||
| 1.2.0.0 | Correct a bug when the number of solutions is inquired |
||
| 1.1.0.0 | Possibility to get the number of permutations to check feasibility |
||
| 1.0.0.0 | Add H1 line as suggested by John D'Errico |
