hsvdOptions
(Not recommended) Create option set for computing Hankel singular values and input/output balancing
hsvdOptions
is not recommended. Use balredOptions
instead. For more information, see Version History.
Syntax
opts
= hsvdOptions
opts
= hsvdOptions(Name,Value)
Description
returns the default
options for the opts
= hsvdOptionshsvd
and balreal
commands.
returns an options set with the options specified by one or more
opts
= hsvdOptions(Name,Value
)Name,Value
pair arguments.
Name-Value Arguments
Specify comma-separated pairs of Name,Value
arguments.
Name
is the argument name and Value
is the
corresponding value. Name
must appear inside single quotes
(' '
). You can specify several name and value pair arguments
in any order as Name1,Value1,...,NameN,ValueN
.
| Frequency intervals for computing frequency-limited Hankel singular
values (
The default value, Default: |
| Time intervals for computing time-limited Hankel singular values
(
The default value, |
| Maximum loss of accuracy value in stable and unstable decomposition.
For models with unstable poles, For more information, see Default: |
| Offset for the stable/unstable boundary. Positive scalar value. In the stable/unstable decomposition, the stable term includes only poles satisfying:
Increase the value of Default: |
For additional information on the options and how they affect the calculation, see
balredOptions
. The time-limited
and frequency-limited state contributions are calculated using the time-limited and
frequency-limited controllability and observability Gramians, as described in
gram
and in [1].
Examples
Compute the Hankel singular values of the system given by:
Use the Offset
option to force hsvd
to exclude the pole at from the stable term of the stable/unstable decomposition.
sys = zpk(-.5,[-1e-6 -2],1);
opts = hsvdOptions('Offset',.001);
hsvd(sys,opts)
ans = 2×1
Inf
0.1875
The plot shows that one state is treated as unstable. hsvd
computes the energy contributions of the stable states only.
Compute the Hankel singular values of a model with low-frequency and high-frequency dynamics. Focus the calculation on the high-frequency modes.
Load the model and examine its frequency response.
load modeselect Gms bodeplot(Gms)
Gms
has two sets of resonances, one at relatively low frequency and the other at relatively high frequency. Compute the Hankel singular values of the high-frequency modes, excluding the energy contributions to the low-frequency dynamics. To do so, use hsvdOptions
to specify a frequency interval above 30 rad/s.
opts = hsvdOptions('FreqInterval',[30 Inf]);
hsvd(Gms,opts)
ans = 18×1
10-4 ×
0.6237
0.4558
0.3183
0.2468
0.0895
0.0847
0.0243
0.0028
0.0000
0.0000
0.0000
0.0000
0.0000
0
0
⋮
References
[1] Gawronski, W. and J.N. Juang. “Model Reduction in Limited Time and Frequency Intervals.” International Journal of Systems Science. Vol. 21, Number 2, 1990, pp. 349–376.
Version History
Introduced in R2010aStarting in R2021a, use the balredOptions
command to create
the options set with your specific options. balredOptions
also includes new
options that preserve roll-off characteristics.
The following table shows some typical uses of hsvd
and how to
update your code to use balredOptions
instead.
Not Recommended | Recommended |
---|---|
| opts = balredOptions(Name,Value) creates the
option set with the specified options. For more information, see
balredOptions . |
There are no plans to remove hsvdOptions
at this time.
See Also
balreal
| gram
| balred
| balredOptions
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: United States.
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)