SystemsModelLinearity

SystemsModelLinearity[sys]
gives the linearity of the systems model sys.

SystemsModelLinearity[{sys,{in1,},{out1,},{s1,}]
only considers the subsystem associated with inputs ini, outputs outj, and states sk.

DetailsDetails

  • SystemsModelLinearity is typically used to determine whether a NonlinearStateSpaceModel or AffineStateSpaceModel satisfies additional linearity conditions, which would allow it to be exactly converted to a more specialized form and thus making a wider range of design and analysis techniques applicable.
  • Possible systems models sys include TransferFunctionModel, StateSpaceModel, AffineStateSpaceModel, and NonlinearStateSpaceModel.
  • A state space model with state , input , state equations and output equations can be classified based on what variables in and occur linearly.
  • Possible values and the structural form required for both and are given below:
  • "Linear"linear in states and inputs,
    "Bilinear"linear in states and inputs separately,
    "StateLinear"linear only in states,
    "InputLinear"linear only in inputs,
    "Nonlinear"not linear in either states or inputs

ExamplesExamplesopen allclose all

Basic Examples  (2)Basic Examples  (2)

A linear mass-spring-damper (MSD) model:

In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
Out[2]=

A MSD model with the spring having cubic nonlinearity:

In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
Out[2]=
Introduced in 2014
(10.0)