Create a Truth Table
Example:
n = 3 output = [0 0 0; 0 0 1; 0 1 0; 0 1 1; 1 0 0; 1 0 1; 1 1 0; 1 1 1]
Solution Stats
Solution Comments
Show comments
Loading...
Problem Recent Solvers49
Suggested Problems
-
471 Solvers
-
395 Solvers
-
Determine the length of a string of characters
265 Solvers
-
Find Out sum of principal diagonal element of given matrix
256 Solvers
-
6259 Solvers
More from this Author43
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!