sectorplot
R2026bPlot sector index as function of frequency
Syntax
Description
The sectorplot function plots the sector indices of a
dynamic system
model. To customize the plot, you can return a SectorPlot
object and modify it using dot notation. For more information, see Customize Linear Analysis Plots at Command Line.
To obtain sector indices, use the sector
function.
sectorplot(
plots the relative sector indices for the dynamic system H,Q)H
and a given sector matrix Q. These indices measure by how
much the sector bound is satisfied (index less than 1) or violated (index
greater than 1) at a given frequency. (See About Sector Bounds and Sector Indices
for more information about the meaning of the sector index.)
sectorplot automatically chooses the frequency range
and number of points based on the dynamics of H.
Let the following be an orthogonal decomposition of the symmetric matrix
Q into its positive and negative parts.
The sector index plot is only meaningful if has a proper stable inverse. In that case, the sector indices are the singular values of:
If H is a model with complex coefficients, then
in:
Log frequency scale, the plot shows two branches, one for positive frequencies and one for negative frequencies. The arrows indicate the direction of increasing frequency values for each branch.
Linear frequency scale, the plot shows a single branch with a symmetric frequency range centered at a frequency value of zero.
sectorplot(___, plots
the sector index for frequencies specified by w)w. You can
specify a frequency range or a vector of frequencies.
You can use this syntax with any of the previous input-argument combinations.
sectorplot(___,
plots the sector index with the options set specified in
plotoptions)plotoptions. You can use these options to customize the
plot appearance using the command line. Settings you specify in
plotoptions override the preference settings in the
MATLAB® session in which you run sectorplot.
Therefore, this syntax is useful when you want to write a script to generate
multiple plots that look the same regardless of the local preferences.
sectorplot(___,
specifies response properties using one or more name-value arguments. For
example, Name=Value)sectorplot(sys,Color="r") sets the plot color to
red. (since R2026b)
When plotting responses for multiple systems, the specified name-value arguments apply to all responses.
The following name-value arguments override values specified in other input arguments.
sectorplot(
plots the sector indices in the specified parent graphics container, such as a
parent,___)Figure or TiledChartLayout, and sets the
Parent property. Use this syntax when you want to
create a plot in a specified open figure or when creating apps in App
Designer. (since R2026b)
plots the sector indices and returns the corresponding chart object. To
customize the appearance and behavior of the response plot, modify the chart
object properties using dot notation. (since R2026b)sp = sectorplot(___)
Examples
Input Arguments
Name-Value Arguments
Output Arguments
Version History
Introduced in R2016aSee Also
sectorplotoptions | sector | getSectorIndex | getPassiveIndex | passiveplot




