isLinearModel
check if a model is linear or nonlinear
Contents
Syntax
Description
Checks if a model is linear of nonlinear. If the model is linear, the function returns the system matrices of the linear system equation
Input Arguments
model |
function handle to the dynamic function of the model |
nx |
number of system states |
nu |
number of inputs |
nw |
number of disturbances |
Output Arguments
res |
1 if the model is linear, 0 if not |
A |
system matrix of the linear model (dimension: [nx,nx]) |
B |
input matrix of the linear model (dimension: [nx,nu]) |
D |
disturbance matrix of the linear model (dimension: [nu,nw]) |
c |
constand offset of the linear model (dimension: [nx,1]) |
See Also
© 2018-2020 I6 Technische Universität München Website License
![]() |
![]() |
![]() |
![]() |