About Site Map Submit Contact Us Log in | Create an account
Create an account Log In
Average Rating
User Rating:
Visitors Rating:
My rating:

Write review
See full specifications

scripts default iconGeneralised Truth Tables (Scripts) Publisher's description

Generate 'truth tables' where columns correspond to digits in arbitrary mixtures of bases.

Generate 'truth tables' where columns correspond to digits in arbitrary mixtures of bases.
Normal truth tables enumerate all possible rows of binary digits. In a generalised truth table, the base associated with each digit is arbitrary. This allows exhaustive generation of combinations of variables of heterogeneous cardinality; e.g. we might consider every possible combination of hair and eye colour, using hair colours in {black, brown, blonde, grey, red} and eye colours in {brown, blue, green, grey}. Using TTABLE([5 4]); would generate a 20-by-2 matrix, where each row corresponds to a hair & eye combination.

Generalised truth tables can also be seen as computing counting digits where each place has an arbitrary base;
TTABLE([10 10 10]) - 1 would generate rows from [0 0 0] to [9 9 9], but we could also use TTABLE([10 5 10]) - 1 to indicate that the second digit is counted in base 5 instead of base 10.

Normal K-bit truth tables can be produced with TTABLE(ones(1, k) * 2) - 1.

Additional documentation is included.

System Requirements:

No special requirements.
Program Release Status: New Release
Program Install Support: Install and Uninstall

Generalised Truth Tables (Scripts) Tags:

Click on a tag to find related softwares

Is Generalised Truth Tables (Scripts) your software?

Manage your software

Most Popular

scripts default icon ASK, OOK, FSK, BPSK, QPSK, 8PSK modulation 1.1
ASK, OOK, FSK, BPSK, QPSK, 8PSK modulation contain several functions for digital modulation simulation
scripts default icon Simulink Communication Labs 1.1
Simulink Communication Labs allows you to learn communication systems in greater depth.
scripts default icon M-QAM modulation and demodulation 1.1
M-QAM modulation and demodulation is the QAM modulation and demodulation tech.
scripts default icon LZW Compression/Decompression 1.1
LZW Compression/Decompression - Updated LZW compressor and decompressor with reasonable performance
scripts default icon InSPIRE utility to plot a 2D displacement field (Scripts) 1.0
This program plots the deformation field (displace vectors) contained in vector.txt.