binaryTable
Version 1.0.0 (1.12 KB) by
Joshua Tyler
Creates a binary table based on "x" bits. Useful for quickly generating all cases of a binary set to generate a truth table.
Supports MATLAB versions with compatability with the following functions:
- "unique"
- "zeros"
- "ones"
- "repmat"
Input: integer "x" number of bits to generate case combinations for.
Output: matrix "y" with 2^x rows and x columns.
Cite As
Joshua Tyler (2026). binaryTable (https://www.mathworks.com/matlabcentral/fileexchange/102960-binarytable), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2021b
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0 |
