Function Reference: @cvpartition/test

statistics: inds = test (C, [i])

Return logical vector for testing-subset indices from a ‘cvpartition’ object, C. i is the fold index (default is 1).