In the absence of these equations, a model of a desired order (or number of states) can be estimated from measured input-output data. A state-space model is commonly used for representing a linear time-invariant (LTI) system. Convert transfer function to state-space models. There are infinitely many ways to represent a given transfer function in state-space form; MATLAB chooses the control canonical form. Control System Toolbox™ software supports SISO or MIMO state-space models in continuous or discrete time. Declare all symbolic variables A transfer function (tf) model object, when numerator and denominator input arguments are numeric arrays.A generalized state-space model (genss) object, when the numerator or denominator input arguments includes tunable parameters, such as realp parameters or generalized matrices (genmat). State-Space Model Representations. Learn more about matlab, state space, transfer function, lsim MATLAB, Control System Toolbox It describes a system with a set of first-order differential or difference equations using inputs, outputs, and state variables. State-space models rely on linear differential equations or difference equations to describe system dynamics. The states will not have the same meaning as they originally did. Use MatLab to convert from state space to transfer function (symbolic) This script requires the MatLab's symbolic toolbox % Start by clearing everything clear all clc . ss2tf returns the Laplace-transform transfer function for continuous-time systems and the Z-transform transfer function for discrete-time systems. This MATLAB function converts a continuous-time or discrete-time single-input transfer function into an equivalent state-space representation. [b,a] = ss2tf(A,B,C,D) converts a state-space representation of a system into an equivalent transfer function. State-Space to Zero/Pole and Transfer Function to Zero/Pole: State-space models can include time delays.