imat_result_doe/setComponents


Purpose

Set the components for Data On Elements result.

Syntax

d=setComponents(d,element,layer,seid)
d=setComponents(d,element,layer,seid,compressed,data)

Description

SETCOMPONENTS sets the component vectors and optionally data for the Data On Elements result object. The individual components can be in compressed or uncompressed format. If uncompressed, SETCOMPONENTS will attempt to compress them.

ELEMENT contains a vector of element IDs.

LAYER contains a vector of layer IDs.

SEID contains a vector of superelement IDs.

COMPRESSED is an optional input logical specifying whether the component vectors are compressed. The default is FALSE.

DATA is an optional input vector containing the data values for this result.

Examples

>> d = setComponents(d,1:100,1,0,true,1:100);

See Also

imat_result_doe/getComponents