Dataset anyexcluded
Jump to navigation
Jump to search
Purpose
Returns true if any element of the given DSO is excluded.
Synopsis
- out = anyexcluded(data)
- out = anyexcluded(data,dim)
Description
This test reports if any item in the given DataSet object (data) has been excluded.
Optional input (dim) can be a single index or vector of indexes indicating which dimensions of the dataset should be tested for exclusions. For example:
>> out = anyexcluded(data,[1 3scott]) out = 1
reports if there are any exclusions on dimensions 1 or 3.
See Also
dataset_end, dataset_isempty, dataset_length, dataset_size, dataset_subsref, dataset_ndims