Professional Documents
Culture Documents
Experiment # 2: To trace output response of given state space model and respond to its
stability
Apparatus:
Personal computer
MATLAB software
Theory
In control engineering, a state-space representation is a mathematical model of a physical system
as a set of input, output and state variables related by first-order differential equations or
difference equations. State variables are variables whose values evolve through time in a way
that depends on the values they have at any given time and also depends on the externally
imposed values of input variables. Output variables’ values depend on the values of the state
variables.
The "state space" is the Euclidean space in which the variables on the axes are the state variables.
The state of the system can be represented as a vector within that space.
To abstract from the number of inputs, outputs and states, these variables are expressed as
vectors. Additionally, if the dynamical system is linear, time-invariant, and finite-dimensional,
then the differential and algebraic equations may be written in matrix form. The state-space
method is characterized by significant algebraization of general system theory, which makes it
possible to use Kronecker vector-matrix structures. The capacity of these structures can be
efficiently applied to research systems with modulation or without it.
Commands Function
Sys = ss(A,B,C,D) Converts the given matrices in state space
model
Sys = ss2tf(A,B,C,D) Converts the given state space model into
transfer function
Sys = tf2ss(A,B,C,D) Converts the given transfer function into space
model
[r,p,k] = residue(num,den) It decomposes the given partial fraction in
residue, poles and direct term of fraction.
[num,den] = residue(r,p,k) Converts expanded fraction into polynomial
coefficients.
Task 1: Use the above commands to trace the results as done by the example.