imat_result/partition


Purpose

Partition results.

Syntax

r=partition(r,ct)

r=d.partition(ct)

[r,v]=partition(r,ct)

[~,v]=partition(r,ct,'veconly')



Description

PARTITION partitions imat_result using the input partitioning data CT. Supported partitioning types vary with result DataLocation. Please see the help for each individual result to see what partitioning inputs are supported.

CT is the entity to use to partition the results. It can be a logical or numeric index vector, imat_ctrace, imat_group, or cell array containing an MxN numeric matrix. In the latter case, PARTITION will attempt to match the first N rows of the individual result's component matrix.

V is an optional output. It is a cell array of the same size as R containing logical vectors of the same length as the number of rows in the component matrix for each result containing true for rows that were kept when partitioning.

Examples

imat_result_dan/partition, imat_result_danoe/partition, imat_result_dap/partition, imat_result_doe/partition, imat_result_doean/partition