Publisher review:ALLCOMB - All combinations of input B = ALLCOMB(A1,A2,A3,...,AN) returns all combinations of the elements in A1, A2, ..., and AN. B is P-by-N matrix is which P is prod(numel(A1),..,numel(AN)). Empty inputs are ignored.Example:allcomb([1 3 5],[-3 8],[],[0 1]) ;1 -3 01 -3 11 8 0...5 -3 15 8 05 8 1ALLCOMB(A1,..AN,'matlab') causes the first column to change fastest. This is more consistent with matlab indexing. Example:allcomb(1:2,3:4,5:6,'matlab') %-> 1 3 52 3 51 4 5...2 4 6This functionality is also known as the cartesion product.See also here on the FEX Requirements: ยท MATLAB Release: R13
ALLCOMB is a Matlab script for Development Tools scripts design by Josh.
It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.
Operating system:Windows / Linux / Mac OS / BSD / Solaris