Setting up differential equations

Do you mean (mat1+mat2)*x./scale ? Try it in the REPL with 2 by 2 matrices and a simple x vector to see if that’s what you want, before throwing it into the ODEProblem. :thinking:

You can also play around with (one(10)./scale) and similar.

1 Like