How do you do state space analysis?
Transfer Function from State Space Model
Apply Laplace Transform on both sides of the state equation. Apply Laplace Transform on both sides of the output equation. Substitute, X(s) value in the above equation. The above equation represents the transfer function of the system.
How do you create a state space model?
You can create a state-space model object by either specifying the state, input and output matrices directly, or by converting a model of another type (such as a transfer function model tf ) to state-space form. For more information, see State-Space Models. You can use an ss model object to: Perform linear analysis.