Documentation Center

  • Trial Software
  • Product Updates

hsvoptions

Create list of Hankel singular value plot options

Syntax

P = hsvoptions
P = HSVOPTIONS('cstpref')

Description

P = hsvoptions returns a list of available options for Hankel singular value (HSV) plots with default values set. You can use these options to customize the Hankel singular value plot appearance using the command line.

P = HSVOPTIONS('cstpref') initializes the plot options you selected in the Control System Toolbox™ Preferences Editor dialog box. For more information about the editor, see Toolbox Preferences Editor in the User's Guide documentation.

This table summarizes the Hankel singular value plot options.

OptionDescription
Title, XLabel, YLabelLabel text and style
TickLabelTick label style
Grid [off|on]Show or hide the grid
XlimMode, YlimMode Limit modes
Xlim, YlimAxes limits
YScale [linear|log] Scale for Y-axis
AbsTol, RelTol, OffsetParameters for the Hankel singular value computation (used only for models with unstable dynamics). See hsvd and stabsep for details.

Examples

In this example, you set the scale for the Y-axis in the HSV plot.

P = hsvoptions; % Set the Y-axis scale to linear in options
P.YScale = 'linear'; % Create plot with the options specified by P
h = hsvplot(rss(2,2,3),P);

The following HSV plot is created, with a linear scale for the Y-axis.

See Also

| | | |

Was this topic helpful?