Specifications
Table Of Contents
- Introduction
- LTI Models
- Operations on LTI Models
- Model Analysis Tools
- Arrays of LTI Models
- Customization
- Setting Toolbox Preferences
- Setting Tool Preferences
- Customizing Response Plot Properties
- Design Case Studies
- Reliable Computations
- GUI Reference
- SISO Design Tool Reference
- Menu Bar
- File
- Import
- Export
- Toolbox Preferences
- Print to Figure
- Close
- Edit
- Undo and Redo
- Root Locus and Bode Diagrams
- SISO Tool Preferences
- View
- Root Locus and Bode Diagrams
- System Data
- Closed Loop Poles
- Design History
- Tools
- Loop Responses
- Continuous/Discrete Conversions
- Draw a Simulink Diagram
- Compensator
- Format
- Edit
- Store
- Retrieve
- Clear
- Window
- Help
- Tool Bar
- Current Compensator
- Feedback Structure
- Root Locus Right-Click Menus
- Bode Diagram Right-Click Menus
- Status Panel
- Menu Bar
- LTI Viewer Reference
- Right-Click Menus for Response Plots
- Function Reference
- Functions by Category
- acker
- allmargin
- append
- augstate
- balreal
- bode
- bodemag
- c2d
- canon
- care
- chgunits
- connect
- covar
- ctrb
- ctrbf
- d2c
- d2d
- damp
- dare
- dcgain
- delay2z
- dlqr
- dlyap
- drss
- dsort
- dss
- dssdata
- esort
- estim
- evalfr
- feedback
- filt
- frd
- frdata
- freqresp
- gensig
- get
- gram
- hasdelay
- impulse
- initial
- interp
- inv
- isct, isdt
- isempty
- isproper
- issiso
- kalman
- kalmd
- lft
- lqgreg
- lqr
- lqrd
- lqry
- lsim
- ltimodels
- ltiprops
- ltiview
- lyap
- margin
- minreal
- modred
- ndims
- ngrid
- nichols
- norm
- nyquist
- obsv
- obsvf
- ord2
- pade
- parallel
- place
- pole
- pzmap
- reg
- reshape
- rlocus
- rss
- series
- set
- sgrid
- sigma
- sisotool
- size
- sminreal
- ss
- ss2ss
- ssbal
- ssdata
- stack
- step
- tf
- tfdata
- totaldelay
- zero
- zgrid
- zpk
- zpkdata
- Index

ssbal
16-211
16ssbal
Purpose Balance state-space models using a diagonal similarity transformation
Syntax [sysb,T] = ssbal(sys)
[sysb,T] = ssbal(sys,condT)
Description Given a state-space model sys with matrices ,
[sysb,T] = ssbal(sys)
computes a diagonal similarity transformation and a scalar such that
has approximately equal row and column norms.
ssbal returns the balanced
model
sysb with matrices
and the state transformation where is the new state.
[sysb,T] = ssbal(sys,condT) specifies an upper bound condT on the
condition number of . Since balancing with ill-conditioned can
inadvertentlymagnifyroundingerrors,
condT gives control over the worst-case
roundoff amplification factor. The default value is
condT=Inf.
ssbal returns an error if the state-space model sys has varying state
dimensions.
Example Consider the continuous-time state-space model with the following data.
a = [1 1e4 1e2;0 1e2 1e5;10 1 0];
b = [1;1;1];
c = [0.1 10 1e2];
sys = ss(a,b,c,0)
ABCD
,,,()
T
α
TAT
1–
TB
α⁄
α
CT
1–
0
TAT
1–
TB
α⁄α
CT
1–
D
,,,()
xTx=
x
TT
A
110
4
10
2
010
2
10
5
10 1 0
,= B
1
1
1
,= C
0.110100
=