subset
Create new ensemble datastore from subset of existing ensemble datastore
Since R2021a
Syntax
Description
creates a new ensemble datastore sens
= subset(ens
,idx
) sens
from a subset of the existing
ensemble datastore ens
by extracting the ensemble members that
correspond to the indices in idx
.
Use subset
when you want to perform ensemble operations on a
specific ensemble member or group of ensemble members, and when using a sequence of
read
commands with the source ensemble does not provide the ensemble members that you want to
process. For example, you can use subset
to:
Extract only ensemble members with a specific fault condition.
Perform preliminary processing and feature generation on a smaller ensemble that contains a similar distribution of conditions to the larger ensemble.
Extract a single ensemble member with specific characteristics to isolate and explore member behavior.
Specify which members you want to extract using the index vector
idx
. You can then operate on your extracted ensemble using the same
techniques that you use for any data ensemble.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2021a