Dataset anyexcluded: Difference between revisions

From Eigenvector Research Documentation Wiki
Jump to navigation Jump to search
imported>Scott
No edit summary
imported>Bob
No edit summary
 
Line 11: Line 11:
indicating which dimensions of the dataset should be tested for
indicating which dimensions of the dataset should be tested for
exclusions. For example:
exclusions. For example:
<pre>>> out = anyexcluded(data,[1 3scott])
<pre>>> out = anyexcluded(data,[1 3])
out =
out =
     1</pre>
     1</pre>

Latest revision as of 11:51, 6 October 2009

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 3])
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