1
$\begingroup$

I have a non-linear homogeneous DAE $x' = F(y)$, $G(y) = 0$ where $x$, $y$ are vectors, $F$ is linear with constant coefficients, and $G$ is a polynomial with parametric coefficients.

How can I transform it into linear state-space form?

$\endgroup$

1 Answer 1

1
$\begingroup$
StateSpaceModel[Flatten@{x'[t]==F[y[t]], G[y[t]]==0},  
Flatten@{x[t],y[t]}, {}, Flatten@{x[t],y[t]}, t]

where $t$ is the independent variable.

For a concrete example see the documentation [link].

$\endgroup$
1
  • $\begingroup$ Ah good old Flatten -- one of my favorites. :) $\endgroup$
    – Michael E2
    Commented Oct 22, 2015 at 23:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.