Create a Design
Set Up Model Inputs
You must first specify model inputs for which to design an experiment.
Start the Model Browser part of the toolbox by typing
mbcmodelat the MATLAB® command line.From the startup project node view, in the Common Tasks pane, click Design experiment.
The New Test Plan dialog box appears.
Click the
Two-Stagetest plan icon
in the Template pane. A two-stage model
fits a model to data with a hierarchical structure.There is only one input to the global model by default. Click the up arrow button to increase the Number of factors setting to 3.
Change the symbols of the three input factors to
N,L, andA.Click OK to dismiss the dialog box.
The Model Browser displays the test plan diagram with your specified model inputs.
Open the Design Editor
In the test plan view, in the Common Tasks pane, click Design experiment.
The Design Editor window appears.
Alternatively, to open the Design Editor, you can also use either of the following methods:
Right-click the global model in the diagram and choose Design Experiment, as shown.
You can also access the Design Editor by selecting the menu item TestPlan > Design Experiment.
Create a New Design
Click the
button in the toolbar or select File > New. A new node called appears.The new node is automatically selected. An empty Design Table appears ( or any view you last used in the Design Editor) because you have not yet chosen a design. For this example you create an optimal design for the default global model.
You can change the model for which you are designing an experiment from within the Design Editor window by selecting Edit > Model.
Rename the new node
Space Fill(you can edit the names by clicking again on a node when it is already selected, or by pressing F2, as when selecting to rename in Windows Explorer).