Dataset anyexcluded: Difference between revisions

From Eigenvector Research Documentation Wiki
Jump to navigation Jump to search
imported>Scott
(New page: ===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...)
 
imported>Bob
No edit summary
 
(One intermediate revision by one other user not shown)
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>
Line 17: Line 17:


===See Also===
===See Also===
[[dataset_end]], [[dataset_length]], [[dataset_size]], [[dataset_subsref]], [[dataset_ndims]]
[[dataset_end]], [[dataset_isempty]], [[dataset_length]], [[dataset_size]], [[dataset_subsref]], [[dataset_ndims]]

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