Main Content

CreateCandidateSet

Create candidate set for optimal designs

Description

DoeObjMod = CreateCandidateSet(DoeObj) creates a candidate set object for the design.

Use ConstrainedGenerate to create a candidate set for optimal designs. Candidate sets are similar to design generators. The software does not use a candidate set to specify a design. Instead, candidate sets specify the set of all possible points to consider as part of an optimal design.

DoeObjMod = CreateCandidateSet(DoeObj,'Name1','Value1',…) creates a candidate set object for the design with the options specified by the name-value pairs.

example

Examples

collapse all

mdl = CreateModel(mbcmodel,'Polynomial',4)
ActualDesign = CreateDesign(mdl,'Type','V-optimal')

c = CreateCandidateSet(ActualDesign,'Type','Grid')
c.NumberOfLevels = [11 11 11 11];

ActualDesign = Generate(ActualDesign,'NumberOfPoints',50,'CandidateSet',c)

Input Arguments

collapse all

Instance of mbcdoe.design class, specified as a mbcdoe.design doe design object.

Name-Value Arguments

collapse all

Specify optional pairs of arguments as Name1=Value1,...,NameN=ValueN, where Name is the argument name and Value is the corresponding value. Name-value arguments must appear after other arguments, but the order of the pairs does not matter.

Before R2021a, use commas to separate each name and value, and enclose Name in quotes.

Example: 'Type','Grid'

The design candidate properties determines the applicable name-value pairs. This table provides a complete list of the properties.

Candidate Set Properties (for Optimal Designs)

Candidate Set TypePropertyDescription
All built-in: Grid/ Lattice, Grid, Lattice, Stratified Lattice, Sobol, HaltonNumberOfPoints (read-only for Grid and Grid/Lattice)Number of points (int: [0,Inf])
LimitsDesign Limits
GridLevelsSelection criteria for best LHS design (cell)
NumberPerLevelSymmetric design (vector int: {[-Inf,Inf], NumInputs})
LatticeGeneratorsPrime number generators for lattice (vector int: {[0,Inf], NumInputs})
Stratified LatticeStratifyLevels Number of levels for each factors (vector int: {[0,Inf], NumInputs})
Sobol SequenceScrambleScramble method (enum:
{‘none’,
’MatousekAffineOwen’}
SkipModeSkip mode options (enum: {'None','2^k','Custom'})
SkipSkip size (int: [0,Inf])
Halton SequenceScramble Scrambling method for sequence (enum: {'None','RR2'})
PrimeLeapLeap sequence points using prime number (boolean)
SkipZeroSkip zero point (boolean)
User-definedNumberOfPointsUser-defined points (read-only)
PointsUser-defined points

Generator type, specified as the comma-separated pair consisting of 'Type' and a character vector.

Example: 'Type','V-optimal'

Output Arguments

collapse all

Modified instance of mbcdoe.design class, returned as a mbcdoe.design object.

Version History

Introduced in R2008a