Message Boards Message Boards


The state-space model in Mathematica

Posted 7 years ago
3 Replies
2 Total Likes


I would like to know how mathematica's state-space works as the description and examples the have at isn't very helpful.

Thank you.

POSTED BY: Amy Davis
3 Replies

StateSpaceModel[{a,b,c,d}] represents the following equation:

x' = a x + b u
y  = c x + d u

where a,b,c,d are matrices.

Each of the four matrices (a,b,c,d) are themselves put together in a matrix of sorts, with lines to separate the the matrices. The are arranged in the same order they appear in the equation above

a b
c d

So in your example, "d" is just the matrix/scalar 0. "c" the horizontal matrix/vector at the bottom left. "b" is the vertical matrix/vector starting at the top right. And "a" is the square matrix starting at the top left that takes up most of the output.

The "S" at the very top right is just to denote that the arrangement of numbers is a StateSpaceModel and not an actual matrix.

POSTED BY: Sean Clarke
Posted 7 years ago

I was referring to the state space model function.

I have attached an example.

I would like to know what each part of the matrix output is.

POSTED BY: Amy Davis

Are you looking for documentation for Mathematica or for Wolfram SystemModeler?

Are you looking for:

How to see the output of a StateSpaceModel?

How to join StateSpaceModels together?

Describe the StateSpaceModel as a TransferFunction?:

POSTED BY: Sean Clarke
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
or Discard

Group Abstract Group Abstract