Create a Truth Table
n = 3
[0 0 0;
0 0 1;
0 1 0;
0 1 1;
1 0 0;
1 0 1;
1 1 0;
1 1 1]
The command de2bi() is not working.
That is part of the Communication system toolbox which is currently not supported by Cody.
Cody Matlab Version
Reverse the elements of an array
Number of digits in an integer
Dimensions of a rectangle
Find the area of a triangle
Implement zero-based indexing for Matrices
Modified run-length companion vector
Create tangent function out of sin and cos
Convert radians to degrees
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office