The relationship between any two numbers, expressions, lists, or matrices can be compared by selecting one of the options. A 1 will be returned if the test is true and a 0 if the test is false. For example, the test, 4 > 7, returns a value of 0 since it is a false statement. Tests can also be made on statements such as
When comparing lists and matrices, each element in the first list or matrix is compared to its corresponding element in the second list or matrix. For example, note the results of the following comparison between the two 3 element lists.