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
-
6977 Solvers
-
Back to basics 3 - Temp Directory
384 Solvers
-
Test if two numbers have the same digits
264 Solvers
-
Matlab Basics - y as a function of x
527 Solvers
-
Find my daddy long leg (No 's')
2726 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!