Skip to main content
15-Moonstone
March 28, 2020
Solved

Problem with statespace

  • March 28, 2020
  • 1 reply
  • 1556 views

I have a system of 4 first-order differential equations which can be solved with odesolve.

 

I want to use the statespace function, but it fails with a cryptic message. My system matrix is not in canonical form, but the documentation for statespace does not seem to require it. I am probably making some stupid mistake, but I don't see it.

 

rgunwaldsen_0-1585419983513.png

 

Attached are Prime 6 worksheet and pdf.

 

Best answer by rgunwaldsen

Went back to Mathcad 15 and errror message said "A"must be a function.

 

Went back to Prime documentation, and lookie lookie: "A is an n x n matrix function of the form A(t), where n is the number of unknown states. The entries of A(t) are functions of the independent variable t.".

1 reply

rgunwaldsen15-MoonstoneAuthorAnswer
15-Moonstone
March 28, 2020

Went back to Mathcad 15 and errror message said "A"must be a function.

 

Went back to Prime documentation, and lookie lookie: "A is an n x n matrix function of the form A(t), where n is the number of unknown states. The entries of A(t) are functions of the independent variable t.".