All Permutations of integers with sum criteria
by Bruno Luong
30 Nov 2007
(Updated 18 Dec 2010)
All Pernutations of integers with sum criteria
|
Watch this File
|
| File Information |
| Description |
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 |
| MATLAB release |
MATLAB 7.1.0 (R14SP3)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Updates |
| 01 May 2008 |
Add H1 line as suggested by John D'Errico |
| 18 May 2009 |
Possibility to get the number of permutations to check feasibility |
| 16 Sep 2009 |
Correct a bug when the number of solutions is inquired |
| 18 Dec 2010 |
+ non-recursive engine |
|
Contact us