Visualize Reduced-Order Models in the Model Reducer App
The plotting tools in the Model Reducer app let you examine and compare time-domain and frequency-domain responses of the original model and the reduced models you create in the app. Use these tools to help verify that the reduced-order model you choose to work with preserves the system behaviors that are important for your application.
For more general information about model reduction, see Model Reduction Basics.
By default, for any model reduction method, Model Reducer shows a frequency-response plot of both the original and reduced models. This plot is a Bode plot for SISO models, and a singular-value plot for MIMO models.
To more closely examine the differences between an original model and a reduced model, you can use absolute error or relative error plots. On any model reduction tab, click Absolute error plot or Relative error plot to view these plots.
Absolute error plot — Shows the singular values of
Gis the original model and
Gris the current reduced model.
Relative error plot — Shows the singular values of
(G-Gr)/G. This plot is useful when the model has very high or very low gain in the region that is important to your application. In such regions, absolute error can be misleading.
For SISO models, the singular-value plot is the magnitude of the frequency response.
After you click to add one or more reduced models to the Data Browser, compare additional responses of the original and reduced models using the Plots tab.
Create New Response Plot
In the Data Browser, select one or more models to plot. (Ctrl-click to select multiple models.) Then, on the Plots tab, click the type of plot you want to create.
Model Reducer creates the plot.
Add Model to Existing Plot
In the Data Browser, select the model to add. Then, on the Plots tab, click the icon corresponding to the plot you want to update. Plots you have created appear on the left side of the plot gallery.
Model Reducer updates the plot with the new model.
To expand the gallery view, click .
On any plot in Model Reducer:
To see response information and data values, click a line on the plot.
To view system characteristics, right-click anywhere on the plot, as described in Frequency-Domain Characteristics on Response Plots.
Mouse over any plot to access plot tools at the upper right corner of the plot.
and — Zoom in and zoom out. Click to activate, and drag the cursor over the region to zoom. The zoom icon turns dark when zoom is active. Right-click while zoom is active to access additional zoom options.Click the icon again to deactivate.
— Pan. Click to activate, and drag the cursor across the plot area to pan. The pan icon turns dark when pan is active. Right-click while pan is active to access additional pan options. Click the icon again to deactivate.
— Legend. By default, the plot legend is active. To toggle the legend off and on, click this icon. To move the legend, drag it to a new location on the plot.
To change the way plots are tiled or sorted, use the options on the View tab.