Truth Table Generation
by Mahendra
16 Nov 2009
(Updated 18 Nov 2009)
This function simply computes the truth table for a given number of variables.
|
Watch this File
|
| File Information |
| Description |
A truth table offers an effective method to analyse problems and permute data to cover possible combinations. The algorithm is run by passing in the number of decision variables (logic variables). |
| MATLAB release |
MATLAB 7.9 (2009b)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Updates |
| 18 Nov 2009 |
More comprehensive comments with an example in the file Pre-allocation of variable before for loop
Replaced the zeros and ones functions by false and true functions |
|
Contact us at files@mathworks.com