Main Content

State-Space Models

State-space representations of LTI models

The representation of a model in state-space is not unique. Coordinate transformation yields state-space models with different matrices but identical dynamics. State coordinate transformation can be useful for achieving minimal realizations of state-space models, or for converting canonical forms for analysis and control design. With the available functionality, you can:

  • Compute minimal, balanced, modal, and companion forms.

  • Perform state coordinate and equivalence transformations, and convert descriptor models to explicit form.

  • Reorder, sort, or eliminate states to simplify models or focus on specific dynamics.

  • Evaluate system characteristics using controllability and observability matrices and Gramians.

  • Append states, offsets, or delays to outputs for analyzing internal signals.

  • Build complex systems by connecting components in series, parallel, feedback, or generalized interconnections.

  • Scale poorly conditioned models for numerical stability.

Functions

expand all

balrealBalanced state-space realization
modalrealCompute modal state-space realization (Since R2023b)
comprealCompute companion state-space realization (Since R2023b)
minrealMinimal realization or pole-zero cancellation
sminrealEliminates structurally disconnected states, delays, and blocks
ss2ssState coordinate transformation for state-space model
ssequivEquivalence transformation for state-space models (Since R2023b)
dss2ssConvert descriptor state-space model to explicit form (Since R2024a)
xperm Reorder states in state-space models
xsortSort states based on state partition
xelimEliminate states from state-space models (Since R2023b)
ctrbControllability of state-space model
obsvObservability of state-space model
gramControllability and observability Gramians
augstateAppend state vector to output vector
augoffsetMap offset contribution to extra input channel (Since R2024a)
augdelayAppend internal delay signal to outputs of state-space model (Since R2026a)
addInterfaceAdd interface for physical assembly (Since R2026a)
assembleAssemble components by connecting their physical interfaces (Since R2026a)
appendGroup models by appending their inputs and outputs
feedbackFeedback connection of multiple models
parallelParallel connection of two models
seriesSeries connection of two models
connectBlock diagram interconnections of dynamic systems
lftGeneralized feedback interconnection of two models (Redheffer star product)
prescaleOptimal scaling of state-space models
fixInput Fix value of some inputs and delete them (Since R2024a)

Topics