TEST Test Function
Section: Elementary Functions
Usage
Tests for the argument array to be all logical 1s. It is completely equivalent to theall
function applied to
a vectorized form of the input. The syntax for the test
function is
y = test(x)
and the result is equivalent to all(x(:))
.