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]
Program an exclusive OR operation with logical operators
597 Solvers
First non-zero element in each column
471 Solvers
Test if two numbers have the same digits
155 Solvers
579 Solvers
201 Solvers
Solution 1018367
The command de2bi() is not working.
That is part of the Communication system toolbox which is currently not supported by Cody.