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
$\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].

| improve this answer | |
$\endgroup$
  • $\begingroup$ Ah good old Flatten -- one of my favorites. :) $\endgroup$ – Michael E2 Oct 22 '15 at 23:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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