Function To Generate Truth Table Condition Vectors

This function efficiently generates a matrix of binary condition vectors for use in a truth table.

Descargar
Descargar

Ahora está siguiendo esta publicación

Citar como

Paul Metcalf (2026). Function To Generate Truth Table Condition Vectors (https://la.mathworks.com/matlabcentral/fileexchange/30008-function-to-generate-truth-table-condition-vectors), MATLAB Central File Exchange. Recuperado .

Información general

Compatibilidad con la versión de MATLAB

  • Compatible con cualquier versión

Compatibilidad con las plataformas

  • Windows
  • macOS
  • Linux
Versión Publicado Notas de la versión Action
1.7.0

Further minor refinement of code.

Descargar
1.6.0

The submission is updated to correct performance issues accidentally introduced in the previous version, as well as address the comments of James Tursa.

Descargar
1.4.0

Added screenshot to download page.

Descargar
1.3.0

The algorithm is now up to 33% faster thanks to the excellent 'Guideline on writing clean and fast code in MATLAB' by Nico Schlömer.
This should now be the simplest, fastest and most direct way of generating a truth table in MATLAB.

Descargar
1.1.0

Slightly updated function description.

Descargar
1.0.0

Descargar