From differential equations to state-space and beyond

We have seen in Chapter 5 how to construct block-diagrams for simulation using integrators and, from there, derive state-space equations. The task was made easier if it was possible to use a chain of integrators, which led to a trivial definition of the state. In many cases that strategy is enough.

Continue reading “From differential equations to state-space and beyond”

Simulating linear systems with non-zero initial conditions in state space

Matlab’s lsim function for simulating linear systems will give you the option to provide an initial condition if your system is in state-space but not for transfer-functions.

Continue reading “Simulating linear systems with non-zero initial conditions in state space”