allcomb(varargin)

All combinations of input (v4.2, apr 2018)

Download
Download

You are now following this Submission

Editor's Note: This file was a File Exchange Pick of the Week

Cite As

Jos (10584) (2026). allcomb(varargin) (https://uk.mathworks.com/matlabcentral/fileexchange/10064-allcomb-varargin), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
4.2.0

fixed some grammar mistakes

Download
4.1.0

fixed error noted by Richard

Download
1.6.0

v4.0 accepts cell arrays as input

Download
1.5.0

now accepts character arrays

Download
1.4.0

remove superfluous line of code (thanks to Edward)

Download
1.3.0

(2.1, feb 2011) - fixed the check of the last argument when the last argument was neither a char or a double.

Download
1.2.0

Convinced by Bruno, I decided to change the behavior when an input is empty (now returns empty instead of ignoring the input).

Download
1.1.0

little speed improvement as suggested by Jan Simon

Download
1.0.0

1) Removed a erroneous warning when no empty inputs were _not_ provided.
2) Added the option to let the first input run fastest (thanks to John D'Errico)

Download