TableDOE
Create a feature containing a table of data for design of experiments (DOE).
Syntax
model.result().table().create(<ftag>,"TableDOE");
model.result().table(<ftag>).setColumnHeaders(<headers>);
model.result().table(<ftag>).setTableData(<realData>);
model.result().table(<ftag>).setTableData(<realData>,<imagData>);
model.result().table(<ftag>).addColumns(<headers>,<realData>);
model.result().table(<ftag>).addColumns(<headers>,<realData>,<imagData>);
model.result().table(<ftag>).addRow(<realData>);
model.result().table(<ftag>).addRow(<realData>,<imagData>);
model.result().table(<ftag>).addRows(<realData>);
model.result().table(<ftag>).addRows(<realData>,<imagData>);
model.result().table(<ftag>).addRowsAndWarnings(<realData>,<warnings>));
model.result().table(<ftag>).addRowAndWarnings(<realData>,<imagData>,<warnings>);
model.result().table(<ftag>).removeRow(<index>);
model.result().table(<ftag>).removeRow(<index_array>);
model.result().table(<ftag>).getColumnHeaders();
model.result().table(<ftag>).getReal();
model.result().table(<ftag>).getRowHeaders()
model.result().table(<ftag>).getImag();
model.result().table(<ftag>).Row(<index>);
model.result().table(<ftag>).getImagRow(<index>);
model.result().table(<ftag>).getTableData(<fullPrecision>);
model.result().table(<ftag>).getTableRow(<index>,<fullPrecision>);
model.result().table(<ftag>).getNRows();
model.result().table(<ftag>).isComplex();
model.result().table(<ftag>).clearTableData();
model.result().table(<ftag>).set(property,<value>);
model.result().table(<ftag>).save(<filename>);
model.result().table(<ftag>).save(<filename>,<fullPrecision>);
model.result().table(<ftag>).loadFile(tempFile,...);
model.result().table(<ftag>).saveFile(tempFile,...);
Description
model.result().table().create(<ftag>,"TableDOE") creates a table feature for DOE named <ftag>. Tables support two data formats, all or filled. Filled data is typically produced from parametric sweeps and makes it possible to retrieve data for a pair of parameters on a matrix format. Filled tables can be used to make response surface plots. (See TableSurface.)
The following properties are available:
For tables with filled data, cols controls which parameter is used on the columns. Cannot be the same parameter as in rows.
For tables with filled data, datacol controls which data column should be used to populate the filled table.
none | data | manual
For tables with filled data, descr controls which description to use for the columns, in addition to the parameter values. none gives no description, manual uses the description in descrmanual, and data uses the description in the table data.
The name of the file on which the table is stored, used when storetable is set to inmodelandonfile or onfile.
on | off
For tables with filled data, filterstringdata controls whether to filter the input column using showrowstep.
all | filled
Controls whether you retrieve all or filled table data when calling the getTableData method.
For tables with filled data containing more than two parameters, param is the index indicating which values to use for fixing additional parameters. Additional parameters are ordered from left to right in the original table data.
For tables with filled data, rows controls which parameter is used on the rows.
When retrieving filled data using the getTableData method, showrowstep controls whether to leave all but every showrowstep input cells empty, for example, every third cell in the first column. This refers to the input column only. Only applied when filterstringdata is on.
inmodel | inmodelandonfile | onfile
Controls whether table is stored in model(inmodel) or on file(onfile), or both(inmodelandonfile).
The size of the in-memory buffer size where the table is stored, used when storetable is set to inmodel or inmodelandonfile. In the second case only the last tablebuffersize rows are kept in the model; the rest is read from file when necessary.
See Also
Table, Table (Plot), TableAnnotation, TableUQ, TableSurface